Delete Customer Token
Delete the specified api token for a customer
Request
URI
PUT
https://{api_host}/api/v2/apitoken/customertokens/revoke
COPY
Request Body
UserApiToken of type(s) application/json
Optional
{
"tokenID": "string",
"tokenName": "string",
"account": "string",
"accountType": "string",
"lastUsed": 0,
"dateGenerated": 0
}
string
tokenID
Required
The identifier of the user API token
string
tokenName
Optional
The name of the user API token
string
account
Optional
The account who generated this token.
string
accountType
Optional
The user or service account generated this token.
Possible values are : USER_ACCOUNT, SERVICE_ACCOUNT, INACTIVE_SERVICE_ACCOUNT,
integer As int64 As int64
lastUsed
Optional
The last time this token was used
integer As int64 As int64
dateGenerated
Optional
The generation date of the token.
Responses
200
successful operation
Returns ResponseContainerUserApiToken of type(s) application/json
{
"status": {
"result": "string",
"message": "string",
"code": 0
},
"response": {
"tokenID": "string",
"tokenName": "string",
"account": "string",
"accountType": "string",
"lastUsed": 0,
"dateGenerated": 0
}
}
Api Token Operations
POST
Create Token
PUT
Delete Customer Token
DELETE
Delete Token
DELETE
Delete Token Service Account
POST
Generate Token Service Account
GET
Get All Tokens
GET
Get Customer Token
GET
Get Customer Tokens
GET
Get Tokens Service Account
PUT
Update Token Name
PUT
Update Token Name Service Account