Organization Memberships
Organization memberships represent the relationship between a single Contentful user and your organization. In other words, this data object defines explicitly who is a member of your organization.
Get all organization memberships
Get all organization memberships
This endpoint returns a paginated collection of all organization memberships for this organization.
All organization members can access this endpoint and will receive a scoped response.
Query Parameters
Filter Parameters
See Filtering Results for details about how to use attributes and operators to construct query filters.
Response
Get a single organization membership
Get a single organization membership
This endpoint returns details about an existing organization membership.
All organization members can access this endpoint.
Response
Create an organization membership
It is not possible to create an organization membership directly. To add a user to your organization, you need to invite them to the organization.
Inviting a user to your organization has the indirect side effect of creating an organization membership, with a status of pending.
See the Invitations section below for complete details.
Update a single organization membership
Update a single organization membership
This endpoint allows you to change an organization membership. Use this to update the organizational role associated with this organization member.
Only organization admins and owners can access this endpoint.
Request Body
Response
Delete a single organization membership
Delete a single organization membership
This endpoint deletes an organization membership. This action only affects whether a user can access an organization; it does not remove the user account itself.
Only organization admins and owners can access this endpoint. The user associated with the space membership also has access to this endpoint (so that they have permission to remove themselves from an organization).
Note: It is not possible to delete an organization membership with an owner role if there are no other owner memberships remaining in the organization.