updateOrganization

@FormUrlEncoded
@PATCH(value = "organizations/{organization_id}")
abstract suspend fun updateOrganization(@Path(value = "organization_id") organizationId: String, @Field(value = "name") name: String? = null, @Field(value = "slug") slug: String? = null): ClerkResult<Organization, ClerkErrorResponse>

Updates an existing organization.

Return

A ClerkResult containing either the updated Organization on success or a ClerkErrorResponse on failure

Parameters

organizationId

The unique identifier of the organization to update

name

The new name for the organization (optional)

slug

The new slug for the organization (optional)

See also