The JWT Token required for accessing the Managerial APIs is generated with this service.

The detail of access to the service are as follows:

Endpoint: https://<management_app_url>/apiops/auth/token

HTTP Method: POST

Request Headers:

HeaderValue
Content-Typeapplication/x-www-form-urlencoded
Acceptapplication/json

Request Body: (urlencoded)

ParameterValue
grant_typeclient_credentials/refresh_token
client_idusername of the Apinizer User used for management application login
client_secretpassword of the Apinizer User used for management application login

Response:

StatusStatus CodeDescriptionBodyHeader
Success200

successful operation

{
    "access_token""....",
    "expires_in"1656505346947
}

Content-Type: application/json;charset=UTF-8
Error400bad request{
    "error""...",
    "error_description""..."
}
Content-Type: application/json;charset=UTF-8
Error401not authorized for this operation

{
    "error""unauthorized_client",
    "error_description""Bad credentials"
}

Content-Type: application/json;charset=UTF-8
Error500internal error{
    "error""...",
    "error_description""..."
}
Content-Type: application/json;charset=UTF-8