List organizations the current user is a member of.
A request from the Shorebird CLI (one carrying x-cli-version) by a person who belongs to no organization first creates one for them, named after their email, so shorebird init has somewhere to put the app. Any other caller gets an empty list and creates one with POST /organizations.
Request
- Base URLhttps://api.shorebird.dev/api/v1
- Auth
- HTTP bearer
- or HTTP bearer
Query parameters
The number of items per page. Sending per_page (or cursor) opts in to pagination: the response holds one page and, unless it is the last, a next_cursor body field. Without either, the full list is returned with no next_cursor. Values above 100 are treated as 100; values that are not a positive integer are treated as 30.
The next_cursor of the previous page, which this page starts after. Send it with the same other query parameters as the previous request. It is opaque: do not build or parse it. An unreadable cursor is a 400.
The 1-based number of the page to return, on a list whose response carries total_count. Like per_page, sending it opts in to pagination. Send either page or cursor, not both (400, invalid_page). A value that is not a positive integer reads the first page.
Response
The organizations the user is a member of.
Changes
No recorded changes to this operation across all 1 revision of this API.