Sign in

Create organization membership

documented

Invite or add a membership to an organization.

POST /organizations/{organizationId}/organization_membershipsOrganization 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/organizations/{{$organization_id}}/organization_memberships" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"user": {"id": "{{$user_id}}"}, "role": "{{$role}}"}'