List organizations

GET /organizations

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

Responses

  • 200 application/json

    Organizations fetched successfully

    Hide response attributes Show response attributes object
  • 401 application/json

    User not found. (code: user.not_found)

    Hide headers attribute Show headers attribute
    Hide response attribute Show response attribute object
    • errors array[object] Required

      A list of errors that occurred in the failing request

      Hide errors attributes Show errors attributes object
      • code string Required

        A structured code representing the error type that occurred

      • message string Required

        A human readable message describing the error that occurred

      • fields array[string]

        If the error can be tied to a specific field or fields in the user request, this lists those fields

GET /organizations
curl \
 --request GET 'https://{{hostname}}/api/v1/organizations' \
 --user "username:password"