Delete an API token of a user
delete
Authorizations
defguard_sessionstringRequired
Path parameters
usernamestringRequired
Name of the user.
token_idinteger · int64Required
ID of the API token.
Responses
200
API token deleted.
No content
400
Token not found.
application/json
401
Session is missing or invalid.
application/json
403
Requires admin privileges and an active enterprise license.
application/json
404
User not found.
application/json
500
Unable to delete API token.
application/json
delete/api/v1/user/{username}/api_token/{token_id}
No content
Last updated
Was this helpful?