Generate Access Token
This endpoint generates an access token for new Central. The provided API client credentials must be for Central application on the HPE GreenLake Platform. The generated token is valid for 2 hours.
post/as/token.oauth2
Request
- Base URLhttps://sso.common.cloud.hpe.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Content-Typestring
Request body application/x-www-form-urlencoded
Example request
{
"client_id": "<API-Client-ID>",
"client_secret": "<API-Client-Secret>"
}Response
Successful response
Example response
{
"access_token": "<access_token>",
"token_type": "Bearer",
"expires_in": 7200
}Changes
No recorded changes to this operation across all 1 revision of this API.