Skip to main content
PATCH
Update Organization Member Permissions

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 on the member’s permissions.

Valid values: "add", "remove", "reset", "set"
target
string
required
The user ID of the member whose permissions are being modified.
permissions
string[]
required
A list of permissions to update.

Valid values: "owner", "admin", "operator", "viewer"

Response

data
object
Contains the updated permissions for the user.
data.newPermissions
string[]
The updated list of permissions assigned to the user.
errors
null
Always null on success.

Docs for agents: llms.txt