updateOrganization()
Updates an Organization
.
- 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
{[string]: any}
- Description
Metadata that can be read from both the Frontend API and Backend API, but can be set only from the Backend API .
- Name
privateMetadata?
- Type
{[string]: any}
- Description
Metadata that is only visible to your Backend API.
- Name
maxAllowedMemberships?
- Type
number
- Description
The maximum number of memberships allowed in the organization. Setting this value to
0
removes any limit, allowing an unlimited number of memberships.
Example
In the following example, you can see that the returned Organization
object has its name
property updated to Test 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 information.
Feedback
Last updated on