post https://govapis.druva.com/token
To use the Try It feature, use this API to generate OAuth2.0 Access Token for authentication and authorization with Phoenix GovCloud APIs.
Important -
- This procedure is APPLICABLE only for generating Phoenix GovCloud token.
- After generating the token, ensure the initial letter of the Request Headers in your API request is in Capital, i.e. 'Accept' and 'Authorization'.
To generate Access Token and use it for authorization with GovCloud APIs -
- Generate API Credentials, Client ID and Secret Key, from the Phoenix GovCloud console. For step-by-step instructions, see Manage API Credentials.
- Provide Client ID as username and Secret Key as password in this API.
- Copy the Access Token from the response.
- Click Try It button for the API which you want to call or explore and provide the copied Access Token in the Authorization text box in the format -
Bearer <Access_Token>
Example - Bearer Zhdsohdspcnxxxxxx