Update current organization
PATCH/v1/organization
Updates the profile the authenticated organization controls: addresses and custom_metadata (null keeps the current value). Identity (id, external_id, status, document) and the fields mirrored from the Kobana Account (name, email, phone) cannot be changed through this endpoint: if sent, they are ignored — to correct them, change the Kobana Account. Commercial fields (such as courtesy and bypass_subscription) are refused with 403.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 429
- 500
Organization updated.
Request body failed validation.
Missing or invalid bearer token.
Token is valid but lacks permission for this operation. With code insufficient_scope, details.required carries the one minimal set of scopes that, added to details.granted, would let the request through: the resource scope (billing/{resource}, or billing/all off the catalogue) then the bare verb — e.g. ["billing/customers", "delete"].
Resource not found in the current organization.
Request body failed validation.
Rate limit exceeded.
Unexpected server error.