Logo
Elasticsearch API Documentation

Delete API keys

DELETE {{baseUrl}}/users/auth/keys

Delete or invalidate API keys.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status OK





Curl
curl -X DELETE 'https://api.elastic-cloud.com/api/v1//users/auth/keys' -H 'Content-Type: application/json' -d '{"keys":["eiusmod Lorem consectetur incididunt","enim labore culpa Ut"]}'

ENDPOINTS