Base path
Endpoints
Attributes
Relationships
Memberships link Users to Organizations, Workspaces, and Projects. Access is evaluated by traversing the membership chain from project → workspace → organization.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Role-based associations between users and organizations, workspaces, or projects. Memberships drive all access control on the platform.
/v1/memberships
| Method | Path | Description |
|---|---|---|
GET | /v1/organizations/{org_id}/memberships | List memberships within an organization |
POST | /v1/organizations/{org_id}/memberships | Add a member to an organization |
GET | /v1/memberships/{id} | Get a membership |
PATCH | /v1/memberships/{id} | Update a membership role |
DELETE | /v1/memberships/{id} | Remove a member |
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier |
user_id | string | Reference to the user |
subject_type | enum | organization, workspace, project |
subject_id | string | ID of the scoped entity |
role | enum | owner, admin, member, viewer, billing |
status | enum | active, pending, revoked |
invited_by | string | User ID of the inviting member |
created_at | datetime | ISO 8601 timestamp |
Was this page helpful?