Organisation
Update Member
Change a member’s roles, or suspend and reactivate them.
PATCH
Preview. This endpoint is available to organisations in the Wordsmith MCP pilot. Other organisations receive
403 mcp_not_enabled. See the preview overview.predefined_roles and custom_role_ids each replace the member’s current list. They do not merge. To add a role, read the member with Get Member and send the full list back. The member must end up with at least one role across the two lists.
Suspending a member blocks sign-in, ends their open sessions at once and pauses their schedules. It also unlinks their WhatsApp account. Their files and sharing stay in place. Reactivating restores access and resumes the schedules, but the member must link WhatsApp again. A role change also signs the member out of open sessions, so the new permissions apply straight away.
Customers who provision users through SCIM from their identity provider manage suspension there. A change to is_suspended here is overwritten at the next sync. SCIM does not manage roles, so role changes here persist.
Authentication
Requires an API key, or an OAuth token withdirectory:admin. The caller must also be an organisation admin, or hold a role with the matching permission. directory:admin is never granted by default. It only narrows what the person who approved it can already do, so a team admin’s token can edit their own teams and nothing else. Admin changes are not available through the MCP server.
Changing roles and suspending are separate permissions. A custom role can grant one without the other.
Wordsmith checks a suspension change before it saves a role change, so a refused request changes nothing.
Path parameters
string
required
The member’s id.
Body parameters
string[]
The built-in roles the member should hold: any of
viewer, full_user and admin. Replaces the current list. A role your organisation has turned off cannot be assigned.string[]
The custom roles the member should hold, from List Roles. Replaces the current list. Each role you add must exist and be active. Adding a custom role needs a plan that includes custom roles.
boolean
true to suspend the member, false to reactivate them. You cannot suspend yourself, nor the last active member who can assign roles: give someone else that permission first.boolean
default:"false"
Some roles allow connecting external sources, such as a SharePoint or Google Drive library. If the new roles remove the member’s last permission for a source type, Wordsmith disconnects the sources they added and removes the imported copies. The originals at the provider are untouched, and restoring the role does not reconnect them. Set this to
true to accept that. Without it, such a change fails with 400 repository_source_disconnection_confirmation_required.Response
Returns200 with the updated member.