Delete API keys of multiple users
Delete or invalidate the API keys for multiple users.
Body
Required
The request to delete API keys.
-
user_api_keys
array[object] Required The list of API key IDs.
The model to specify a user and their API key in a delete request.
DELETE
/users/auth/keys/_all
curl \
--request DELETE https://{{hostname}}/api/v1/users/auth/keys/_all \
--data '{"user_api_keys":[{"user_id":"string","api_key_id":"string"}]}'
Request examples
{
"user_api_keys": [
{
"user_id": "string",
"api_key_id": "string"
}
]
}
Response examples (200)
{}