Organizations
Replace metadata for an organization
Changed onReplace an organization's metadata attributes with the provided values. Unlike PATCH /v1/organizations/{organization_id}/metadata (merge semantics), this endpoint replaces the supplied metadata fields entirely — the prior contents of each supplied field are discarded. Fields omitted from the request body are left unchanged. Prefer the PATCH endpoint for partial updates. Use PUT only when you explicitly intend to overwrite a metadata field wholesale.
put/organizations/{organization_id}/metadata
Request
- Base URL: https://api.clerk.com/v1
- URL: https://api.clerk.com/v1/organizations/{organization_id}/metadata
- Auth: HTTP bearer
Path parameters
organization_idstring required
The ID of the organization whose metadata will be replaced
Request body
Response
An organization
Changes
- warning
removed the optional property
from the response with the status
- warning
- info
added the optional property
to the response with the status
- info