Get programmatic access token for CloudGlobalRulestackAdmin
GET/v1/mgmt/tokens/cloudglobalrulestackadmin
Fetch the JSON Web Token (JWT) to enable programmatic access for a cloud global rulestack admin role.
Request
- application/json
Body
ExpiryTime Expirytime (integer)
Possible values: >= 5
and <= 1440
Default value: 30
The expiry time of the token.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
Response object
The API call response.
Enabled Enabled (boolean)
Describes whether programmatic access is enabled for your account.
ExpiryTime Expirytime (integer)
Possible values: >= 5
and <= 1440
The expiry time of the token.
SubscriptionKey Subscriptionkey (string)
Your subscription key.
TokenId Tokenid (string)
The unique ID of the token.
ResponseStatus object
The API call response status.
ErrorCode Errorcode (integer)
Default value: 0
Default value of a successful response is 0. Any other number indicates an error code.
Reason Reason (string)
The error description.
{
"Response": {
"Enabled": true,
"ExpiryTime": 0,
"SubscriptionKey": "string",
"TokenId": "string"
},
"ResponseStatus": {
"ErrorCode": 0,
"Reason": "string"
}
}
Loading...