ts.org.update
Update organization attributes (partial update).
Update organization attributes (partial update).
Requires authentication
Description
Updates an organization’s name, description, status, or metadata. Only provided fields are changed.
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
id | string | Yes | Organization ID | |
name | string | New name | ||
description | string | New description | ||
status | string | New status: active, inactive, archived | ||
metadata | object | Metadata to set (replaces existing) |
Response
Returns the updated organization.
{
"id": "org_1d9cb149497656c7",
"name": "Updated Org Name",
"status": "active",
"updated_at": "2026-02-12T10:00:00Z"
}
Errors
| Code | Description |
|---|---|
not_authenticated | No active login for this session |
not_found | Organization with this ID does not exist |
invalid_input | No fields to update |
Examples
Update organization name
Change the name of an organization.
Request:
{
"id": "org_1d9cb149497656c7",
"name": "Updated Org Name"
}
Response:
{
"id": "org_1d9cb149497656c7",
"name": "Updated Org Name",
"updated_at": "2026-02-12T10:00:00Z"
}