When using a service token, returns the list of organizations the service token has access to. When using an OAuth token, returns the list of organizations the user has access to.
A OAuth token must have at least one of the following scopes in order to use this API endpoint:
OAuth Scopes
| Resource | Scopes |
|---|---|
| User | read_organizations |
Documentation Index
Fetch the complete documentation index at: https://planetscale.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
The access token received from the authorization server in the OAuth 2.0 flow.
If provided, specifies the page offset of returned results
If provided, specifies the number of returned results
Gets the organizations for the current user
The response type. Always "list" for paginated responses.
The current page number
The next page number, or null when this is the last page
The next page of results, or null when this is the last page
The previous page number, or null when this is the first page
The previous page of results, or null when this is the first page