Describe programmatic access
GET/v1/mgmt/tokens
Retrieve the programmatic access information of your account.
This service is available for Tenant Admins only.
Request
- application/json
Body
object
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.
MaxExpiryTime Maxexpirytime (integer)
Possible values: >= 480
and <= 1440
The maximum expiry time 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,
"MaxExpiryTime": 0
},
"ResponseStatus": {
"ErrorCode": 0,
"Reason": "string"
}
}
Loading...