Use this API to refresh an access token using its refresh token. A valid refresh token is needed to retrieve a new access_token.
Refresh token json payload.
- https://api.equinix.comhttps://api.equinix.com/oauth2/v1/refreshaccesstoken
{ "client_id": "string", "client_secret": "string", "refresh_token": "string" }
Successful refresh Oauth2 token
The max validity in seconds for this access_token
Default:"3599 (60 minutes)"
The OAuth2 refresh token which could be used to retrieve a new access_token without user credentials. The refresh_token has a max validity of 60 days after which a new Access Token request must be made. Refresh token is Not returned for "client_credentials" grant type
Response
{ "access_token": "string", "token_timeout": "3599 (60 minutes)", "user_name": "string", "token_type": "Bearer", "refresh_token": "string", "refresh_token_timeout": "5182560 (60 days)" }