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/revokeAuthToken
Content-Type: {contentType}
Table 1. Header parameters
Parameter Type Required Description
Content-Type
  • application/json
  • application/yaml
true
This command takes a JSON request string or file. Use the following template for the request:
{"token": "Authentication token ID or secret"}

Related CLI command: revokeAuthToken.