List organizations

edit

Fetch organizations available to the current user. Currently unavailable in self-hosted ECE.

Request

edit

GET /api/v1/organizations

Responses

edit
200

(OrganizationList)

Organizations fetched successfully

401

(BasicFailedReply)

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

edit
curl -XGET https://{{hostname}}/api/v1/organizations \
-H "Authorization: ApiKey $ECE_API_KEY"