Delete an authentication key of a user
delete
Authorizations
defguard_sessionstringRequired
Path parameters
usernamestringRequired
Name of the user.
key_idinteger · int64Required
ID of the authentication key.
Responses
200
Authentication key deleted.
No content
400
Key not found.
application/json
401
Session is missing or invalid.
application/json
403
Requires admin privileges or the request must target your own account.
application/json
404
User not found.
application/json
500
Unable to delete authentication key.
application/json
delete/api/v1/user/{username}/auth_key/{key_id}
DELETE /api/v1/user/{username}/auth_key/{key_id} HTTP/1.1
Accept: */*
No content
Last updated
Was this helpful?