Skip to main content
DELETE
/
users
/
auth
/
keys
Delete API keys
curl --request DELETE \
  --url https://api.elastic-cloud.com/api/v1/users/auth/keys \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "keys": [
    "<string>",
    "<string>"
  ]
}'
{}

Authorizations

Authorization
string
header
required

Body

application/json
keys
string[]
Example:
["<string>", "<string>"]

Response

200 - application/json

The API keys are deleted.

The response is of type object.

I