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

NameTypeRequiredDefaultDescription
idstringYesOrganization ID
namestringNew name
descriptionstringNew description
statusstringNew status: active, inactive, archived
metadataobjectMetadata 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

CodeDescription
not_authenticatedNo active login for this session
not_foundOrganization with this ID does not exist
invalid_inputNo 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"
}