Skip to main content
PATCH
Preview. This endpoint is available to organisations in the Wordsmith MCP pilot. Other organisations receive 403 mcp_not_enabled. See the preview overview.
Changes a direct member’s role in a team to admin or member. This is the team role only. To change someone’s organisation roles, use Update Member. This works on teams synced from a Slack channel too. The channel decides who is in the team, not who administers it. One exception: the person who created a synced team stays its admin, so the team always has one.

Authentication

Requires an API key, or an OAuth token with directory: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. An admin of the team can also change roles in it.

Path parameters

string
required
The team id.
string
required
The team member’s user id.

Body parameters

enum
required
member or admin.

Response

Returns 200 with the person’s team membership.

Errors