Path Parameters
The organization identifier. Can be either:
- Organization UUID (e.g.,
9f256f86-d3c4-4a6e-b89a-1e9a23c5d78e) - Organization name/slug (e.g.,
acme-corp)
Request Body
Organization fields to update. Only provided fields will be updated.
Unique name/slug for the organization. Must be lowercase, alphanumeric with hyphens.Warning: Changing the name affects all URLs and API references.Example:
acme-corporation, new-org-nameHuman-readable display name for the organization.Example:
Acme Corporation, New Organization NameURL to the organization’s avatar image. Set to empty string to remove.Example:
https://example.com/avatars/new-logo.pngCustom metadata for the organization. This completely replaces existing metadata - use a partial update pattern in your application if you want to preserve existing fields.Example:
{"industry": "fintech", "employees": 500, "region": "eu-west"}Response
The updated organization object.
Unique identifier for the organization (UUID format).
Updated unique name/slug for the organization.
Updated human-readable display name.
Updated avatar URL.
Current state of the organization (unchanged by this endpoint).
Updated custom metadata.
Original creation timestamp (unchanged).
Timestamp of this update (RFC3339 format).
Response Example
Error Responses
Error code indicating the type of error.
Human-readable error message.
Common Errors
- 400 Bad Request: Invalid request body or field values
- Invalid organization name format
- Metadata doesn’t match the required schema
- Empty request body
- 401 Unauthorized: Invalid or missing authentication token
- 404 Not Found: Organization doesn’t exist
- 409 Conflict: New organization name already exists (if changing name)
- 500 Internal Server Error: Server encountered an unexpected error
Notes
- Only organization admins/owners can update organization details
- You can update individual fields without providing all fields
- Changing the organization name affects all URLs and API references
- Metadata is replaced entirely, not merged - include all metadata fields you want to keep
- An audit log entry is created for the organization update event
- The
updated_attimestamp is automatically set to the current time - To remove the avatar, set it to an empty string
- Organization state cannot be changed through this endpoint - use enable/disable endpoints instead