Logo
Acronis Cyber Platform's Public API Documentation

Issue a JWT token grant_type=password

POST {{base_url}}/api/2/idp/token

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status OK

{ "access_token": "<access_token>", "token_type": "bearer", "expires_on": 1580813210, "id_token": "<id_token>" }



Curl
curl -X POST 'base_url/api/2/idp/token' -H 'Content-Type: application/x-www-form-urlencoded' --data-urlencode '%7B%22name%22%3D%3E%22grant_type%22%2C+%22value%22%3D%3E%22password%22%2C+%22datatype%22%3D%3E%22string%22%7D&%7B%22name%22%3D%3E%22username%22%2C+%22value%22%3D%3E%22username%22%2C+%22datatype%22%3D%3E%22string%22%7D&%7B%22name%22%3D%3E%22password%22%2C+%22value%22%3D%3E%22password%22%2C+%22datatype%22%3D%3E%22string%22%7D'

ENDPOINTS