This API reference includes a Try It! to test any of the API calls. The Try It! has the ability to generate code for many of your favorite clients such as Python, Shell, JavaScript and PowerShell!
To use this function, the user is required to set their authentication details for their Vitruvi workspace as well as to set the workspace name.
Selecting any of the API endpoints under API Reference will reveal the Try It! section:

Try It!
Under Authorization, select the appropriate authorization type and enter your details. For information on API authorization, see API Authentication

Authentication Options

No Bearer Token Prefix Required
In the Try It! function, the Bearer authorization option does not require the "Bearer " prefix. The portal will insert the prefix automatically.
Under URL, there will be a base URL defined that has been set to a default workspace name demo. To change the workspace that the Try It! function will call to your workspace, click on the name of the workspace in the URL and enter a new workspace name.

Workspace Selection
Once changed, these settings will be persisted in your browser cookies for the rest of the session.