Sign in

Create space membership

documented

Add a user to a space within an organization.

POST /organizations/{organizationId}/space_membershipsSpace membershipsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.contentful.com/v1/organizations/{{$organization_id}}/space_memberships" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/vnd.contentful.management.v1+json" \
  -H "Accept: application/json" \
  -d '{"admin": false, "email": "{{$email}}", "roles": [{"type": "Link", "linkType": "Role", "id": "{{$role_id}}"}]}'
Create space membership · Contentful · OpenIntegrations