update

suspend fun Organization.update(name: String? = null, slug: String? = null): ClerkResult<Organization, ClerkErrorResponse>

Updates the organization's name and/or slug.

Return

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

Parameters

name

The new name for the organization. If null, the current name is preserved.

slug

The new slug for the organization. If null, the current slug is preserved.