This API handles authentication and authorization of the API developer. It returns an access_token which would be valid for 60 minutes. The user account will get locked after 5 successive invalid attempts.
Request token json payload
The OAuth2 grant type used for authorization. Supported values are "password" & "client_credentials". user_name and password is not considered in case this value is "client_credentials". If the grant_type is not passed, by default it would consider "password" type in which user_name and password is required. Note that the password grant type is deprecated. Recommended to use grant_type of 'client_credentials' instead.
- https://api.equinix.comhttps://api.equinix.com/oauth2/v1/token
{ "user_name": "string", "user_password": "string", "client_id": "string", "client_secret": "string", "grant_type": "string", "password_encoding": "none" }
Successful Oauth2 token
The max validity in seconds for this access_token
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
{ "access_token": "string", "token_timeout": "3599 (60 minutes)", "user_name": "string", "token_type": "Bearer", "refresh_token": "string", "refresh_token_timeout": "5182560 (60 days)" }