TypeScript client
Organizations
Update organization
Update an organization’s settings, such as its name. Only an organization admin or owner can do this. Membership changes go through the member endpoints, and organization deletion is not exposed on the public agent surface.
PATCH
TypeScript client
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Organization id (UUID). Discover ids via the list organizations endpoint or the agent context.
Body
application/json
Response
Success
a Universally Unique Identifier
Pattern:
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Available options:
active, inactive, trialing, past_due, canceled, paused, unpaid