It is time to say goodbye: This version of Elastic Cloud Enterprise has reached end-of-life (EOL) and is no longer supported.
The documentation for this version is no longer being maintained. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Get all API keys for all users
editGet all API keys for all users
editRetrieves the metadata for all of the API keys for all users.
Request
editGET /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
editcurl -XGET {{hostname}}/api/v1/users/auth/keys/_all \ -H "Authorization: ApiKey $ECE_API_KEY"