users
List Site Memberships
Retrieves a list of sites where the user has membership.
Returns an array of site memberships. Each membership contains the site ID and nested site information. Pagination is handled via query parameters (limit and start).
get/v0/users/{user_id}/memberships/sites
Path parameters
user_idstring required
User UUID
Query parameters
limitinteger
Maximum number of results per page (1-100)
startstring
Pagination cursor. Use the lowercase site UUID of the last item on the previous page. Cursors expire five minutes after the page that produced them; an expired or unrecognized cursor returns the first page.
Response
Example response
[
{
"id": "12345678-1234-1234-1234-123456789012",
"site": {
"created": 1683057804,
"framework": "drupal8",
"id": "12345678-1234-1234-1234-123456789012",
"label": "My Awesome Site",
"name": "my-awesome-site",
"owner": "12345678-1234-1234-1234-123456789012",
"plan_name": "Performance Small"
}
}
]