Logo
Acronis Cyber Platform's Public API Documentation

Exchange an agent registration token to authentication token

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": "eyJhbGciOiJSUzI1NiIsImVh....5JJIWyp-8ZDQpxZ4WvJm5LXDtyBgUEDRFQ", "token_type": "bearer", "expires_in": 256583, "scope": null }



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%22urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Ajwt-bearer%22%2C+%22datatype%22%3D%3E%22string%22%7D&%7B%22name%22%3D%3E%22assertion%22%2C+%22value%22%3D%3E%22registration_token%22%2C+%22datatype%22%3D%3E%22string%22%7D'

ENDPOINTS