Guide: Using the Morpheus API


Using the Morpheus API

To access Morpheus functions from the API level you must first generate a Token. To do this, press your username in the upper right corner and select "USER SETTINGS".

After entering the settings, press the "API ACCESS" button, which is located under the "User Settings" section.

For the "morph-api" line, press ACTION and then the "Regenerate" option.

Selecting this option will generate a new token that will allow you to authorize.

A detailed list of available endpoints can be found in the official Morpheus documentation.

As an example, you can get the list of instances in your tenant like this:

$ curl "" -H "Authorization: BEARER <token>" | python -m

replacing <token> with the token obtained above.