Skip to main content
PATCH /api/v1/organizations/current Requires org.update permission. Only fields present in the request body are updated; omitted fields are left unchanged.

Request body

name
string
New display name for the organization. Example: Acme Corp Updated.

Response

Returns the updated organization detail object.
id
string
required
UUID of the organization.
slug
string
required
URL-safe identifier.
name
string
required
Updated display name.
created_at
string
required
ISO 8601 creation timestamp.
updated_at
string
required
ISO 8601 last-updated timestamp reflecting the change.

Errors

StatusWhen
400Request body is invalid
401Missing or invalid Bearer token
403Caller lacks org.update permission
404Organization not found

Example

curl -X PATCH http://localhost:8080/api/v1/organizations/current \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"name": "Acme Corp Updated"}'
{
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "slug": "acme-corp",
  "name": "Acme Corp Updated",
  "created_at": "2026-01-15T09:00:00Z",
  "updated_at": "2026-03-21T11:00:00Z"
}

Build docs developers (and LLMs) love