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:
Header | Value |
---|
Content-Type | application/x-www-form-urlencoded |
Accept | application/json |
Request Body: (urlencoded)
Parameter | Value |
---|
grant_type | client_credentials/refresh_token |
client_id | username of the Apinizer User used for management application login |
client_secret | password of the Apinizer User used for management application login |
Response:
Status | Status Code | Description | Body | Header |
---|
Success | 200 | successful operation | { "access_token": "....", "expires_in": 1656505346947 } | Content-Type: application/json;charset=UTF-8 |
Error | 400 | bad request | { "error": "...", "error_description": "..." } | Content-Type: application/json;charset=UTF-8 |
Error | 401 | not authorized for this operation | { "error": "unauthorized_client", "error_description": "Bad credentials" } | Content-Type: application/json;charset=UTF-8 |
Error | 500 | internal error | { "error": "...", "error_description": "..." } | Content-Type: application/json;charset=UTF-8 |