users
List Organization Memberships
Retrieves a list of organizations where the user has membership.
Returns an array of organization memberships. Each membership contains the organization ID and nested organization information. Pagination is handled via query parameters (limit and start).
get/v0/users/{user_id}/memberships/organizations
Request
- Base URLhttps://api.pantheon.io
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
user_idstring required
User UUID
Query parameters
limitinteger
Maximum number of results per page (1-100). Validated but not currently applied by this endpoint, which returns every membership.
startstring
Pagination cursor. Must be a lowercase organization UUID, though this endpoint does not currently page: it returns every membership whatever limit and start are set to.
Response
Example response
[
{
"id": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
"organization": {
"id": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
"profile": {
"machine_name": "my-organization",
"name": "My Organization"
}
}
}
]Changes
No recorded changes to this operation across all 2 revisions of this API.