Revoke an authentication token
Revokes and deletes an authentication token identified by database ID or token secret. Only users with 'Manage Security' permission can use this function for a token they do not own.
Request
POST https://{hostname}:{port}
/cli/teamsecurity/revokeToken
Content-Type: {contentType}
| Parameter | Type | Required | Description |
|---|---|---|---|
| Content-Type |
|
true |
This command takes a JSON request string or file. Use the following template for the request:
{"token": "Authentication token ID or secret"}
JSON example
{
"token": "194dba21-0199-cddb-1f04-4ad922fc5385"
}Related CLI command: revokeAuthToken.