Skip to main content
Changes a member’s role. Guard rails:
  • the tenant_owner role cannot be assigned here — ownership transfer stays in the console (400)
  • the owner’s own role cannot be changed (409)
  • the calling key cannot change its creator’s role — self-demotion would sever the automation’s own authorization mid-run (409)
Permission required: member:change_role

Path Parameters

string
required
Member identifier from the members list

Headers

string
Optional. Retrying with the same value replays the first result.

Request Body

string
required
New role: tenant_admin, tenant_member, or a custom role key of this team

Response