Logo
Elasticsearch API Documentation

Create API key

POST {{baseUrl}}/users/auth/keys

Creates a new API key.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status Created





Curl
curl -X POST 'https://api.elastic-cloud.com/api/v1//users/auth/keys' -H 'Content-Type: application/json' -d '{"description":"deserunt occaecat sit nisi","authentication_token":"laboris voluptate quis ullamco"}'

ENDPOINTS