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.

To perform this operation, you must be authenticated by means of one of the following methods: apiKey, basicAuth.

Request example

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