updateOrganization()
Updates an Organization
given a valid organization ID.
- Name
organizationId
- Type
string
- Description
The organization ID of the organization being updated.
- Name
name?
- Type
string
- Description
The updated name of the organization.
- Name
slug?
- Type
string
- Description
The updated slug of the organization.
- Name
publicMetadata?
- Type
Record<string, unknown>
- Description
Metadata saved on the organization, that is visible to both your Frontend and Backend APIs.
- Name
privateMetadata?
- Type
Record<string, unknown>
- Description
Metadata saved on the organization that is only visible to your Backend API.
updateOrganization()
example
In this example, the name of the organization is updated.
Backend API (BAPI) endpoint
This method in the SDK is a wrapper around the BAPI endpoint PATCH/organizations/{organization_id}
. See the BAPI reference for more details.