The Provisioning Manager provides APIs to manage tokens, bootstraps, and devices. A Swagger API page details API information and allows the administrator to try the APIs.
To access the
Swagger API
page,
In the top toolbar, click the
Show
menu and select
Swagger APIs
.
The
Swagger API
page opens in a separate browser.
Provisioning Manager REST API
The API provides an auth-controller that contains a login procedure. An access token with a token type of Bearer is returned in the response. This token must be included in an authorization header in all other API requests as a form of authentication. An example header is below:
authorization: Bearer <accessToken>
When the Swagger page is used, we recommend using the button on the top right instead of the auth-controller as described in the following steps 2 through 5.
Click the button to authorize the API access.
The
Available Authorization
screen appears.
Enter the username and password, and do not modify any other field.
Click
Authorize
button.
The
Authorized
screen appears.
Click
Close
.
The remaining controllers provided in the Provisioning Manager API are as follows:
bootstrap-controller
allows viewing and managing bootstraps as follows:
Add/update a bootstrap by name.
Delete a bootstrap by name.
Get a bootstrap by name.
Get a list of all bootstraps.
devices by device ID to the selected device and returns all assigned licenses for that device to the pool of available licenses.
tokens-controller
allows viewing and managing tokens and their association with bootstrap parameters as follows:
Add/update a token by name.
Delete a token by name.
Get a token by name.
Get a list of all tokens.
To access the API endpoint information, select the carat symbol
>
at the far right of each controller group. The
Swagger API
page provides API details and an option to try the APIs.
To return to the Provisioning Manager interface, select the browser tab where the application runs.
When updating information for the Provisioning Manager, use either the Provisioning Manager interface or the Provisioning Manager APIs. Do not use the interface and the APIs simultaneously, as this could cause synchronization issues.