Skip to main content
PATCH
Update Organization Members

Headers

authorization
string
required
Your API key for authentication.

Path Parameters

org_id
string
required
The unique identifier of the organization.

Body

action
string
required
The action to perform.

Valid values: "add", "remove"
target
string
required
The user ID of the member to be added or removed.
permissions
string[]
A list of permissions to assign when adding a member.

Required only when action is "add".

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

Required only when action is "remove".

Response

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

Docs for agents: llms.txt