Skip to main content
PATCH
Update Organization Members

Headers

string
required
Your API key for authentication.

Path Parameters

string
required
The unique identifier of the organization.

Body

string
required
The action to perform.

Valid values: "add", "remove"
string
required
Who to add or remove. Accepts an existing user ID, a phone number (E.164 format, e.g. +14155550123), or an email address.

When you pass a phone number or email that doesn’t match an existing user, an invitation is created. Phone number invitees receive an SMS, and email invitees receive a sign-up link. Invitees are automatically added to the organization when they sign up with the same phone number or email.
string[]
A list of permissions to assign when adding a member.

Required only when action is "add".

Valid values: "owner", "admin", "operator", "viewer"
boolean
Whether the removal applies to an invite instead of a full member.

Required only when action is "remove".

Response

null
Always null upon successful update.
null
Always null on success.

Docs for agents: llms.txt