Skip to main content
PATCH

Authorizations

Authorization
string
header
required

A personal sk- API key that belongs to an organization owner. Send it as Authorization: Bearer sk-.... See Set up the User management API.

Headers

request-id
string

A unique request ID generated by the client for request tracing.

Path Parameters

member_id
string
required

The user's email address or the pending invitation ID.

Body

application/json

Provide at least one field. Send organization_permission and team_id in separate requests.

organization_permission
enum<string>
Available options:
owner,
user
permission
enum<string>
Available options:
owner,
user
team_id
string

A team in the caller's workspace.

Minimum string length: 1
Pattern: ^(?!\s*$)(?!\s*-\s*$).+

Response

The changes applied to the member.

member_id
string
required
organization_permission
enum<string> | null
Available options:
owner,
user
permission
enum<string> | null
Available options:
owner,
user
team_id
string | null