A newer version is available. For the latest information, see the
current release documentation.
List organizations
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
List organizations
editFetch organizations available to the current user. Currently unavailable in self-hosted ECE.
Request
editGET /api/v1/organizations
Responses
edit-
200 -
Organizations fetched successfully
-
401 -
User not found. (code:
user.not_found)Headers
-
x-cloud-error-codes(string; allowed values: [user.not_found]) - The error codes associated with the response
-
Request example
editcurl -XGET https://{{hostname}}/api/v1/organizations \
-H "Authorization: ApiKey $ECE_API_KEY"