Delete an API key for a user
Delete or invalidate an API key for a user.
Path parameters
-
The user ID.
-
The API Key ID.
DELETE /users/{user_id}/auth/keys/{api_key_id}
curl \
-X DELETE https://{{hostname}}/api/v1/users/{user_id}/auth/keys/{api_key_id}
Response examples (200)
{}
Response examples (404)
# Headers
x-cloud-error-codes: api_keys.key_not_found
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}