Skip to main content
POST
Typescript (SDK)

Authorizations

Authorization
string
header
required

API key in the format: Bearer {api_token}

Headers

Idempotency-Key
string

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Maximum string length: 255

Path Parameters

id
string
required

The member's user id (user_...) or email address.

Response

The new owner

object
string
required
id
string
required
email
string
required
name
string | null
required
role
string | null
required
owner
boolean
required
teammate
boolean
required
agent_list
string | null
required
agent_refusal
string | null
required
credit_cap
integer | null
required
credits_spent_this_cycle
integer | null
required