The current API Docs here do not work. The examples are showing using Python 2.7.x which has long been deprecated.
https://github.com/apache/cloudstack-documentation/blob/4.18.1.0/source/developersguide/developer_guide.rst#the-cloudstack-api Thanks, Jason