To Get OAuth2 Token
get
/cloudapi/restapi/oauth2/token
To obtain an OAuth2 token for accessing V3 or later APIs
Request
Query Parameters
-
tokenExpiry: integer(int32)
Validity of the token in seconds.Example:
3600
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
successful operation
Root Schema : OAuthTokenResponse
Type:
objectTitle:
OAuthTokenResponseOAuth access token response.
Show Source
-
access_token: string
Title:
access_tokenGenerated OAuth access token.
400 Response
Invalid input, Please check.