Create space membership
documentedAdd a user to a space within an organization.
POST /organizations/{organizationId}/space_membershipsSpace membershipsno implementation yet0 runsNo 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}}"}]}'