Sign in

Update user

documented

Update a user.

PATCH /organizations/{organizationId}/users/{id}Usersno 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/{{$organizationId}}/users/{{$userId}}" \
  -X PATCH \
  -H "Authorization: Bearer {{CONTENTFUL_SECRET}}" \
  -H "Content-Type: application/vnd.contentful.management.v1+json" \
  -H "Accept: application/json" \
  -H "X-Contentful-Version: {{$version}}" \
  -d '{"organizationRole": "{{$organizationRole}}", "spaces": [{"spaceId": "{{$spaceId}}", "roles": "{{$spaceRoles}}"}]}'
Update user · Contentful · OpenIntegrations