IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

Get all API keys for all users

edit

Retrieves the metadata for all of the API keys for all users.

Request

edit

GET /api/v1/users/auth/keys/_all

Responses

edit
200

(ApiKeysResponse) The metadata for the API keys is retrieved.

Request example

edit
curl -XGET https://{{hostname}}/api/v1/users/auth/keys/_all \
-H "Authorization: ApiKey $ECE_API_KEY"