clerk.update_organization_metadata
Merge metadata into a Clerk organization (deep merge — existing keys are preserved unless overwritten).
Call clerk.get_connected_accounts first. Pass clerk_instance_id to target a specific connection, or omit it to use the default account.
Returns the updated organization summary.
Cost = 8 tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| organization_id | Yes | Clerk organization id (org_...) to operate on. | |
| public_metadata | No | Public metadata to merge into the organization. | |
| private_metadata | No | Private metadata to merge into the organization. | |
| clerk_instance_id | No | Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| organization | No | Updated Clerk organization summary. |