getOrganization

@GET(value = "organizations/{organization_id}")
abstract suspend fun getOrganization(@Path(value = "organization_id") organizationId: String): ClerkResult<Organization, ClerkErrorResponse>

Retrieves a specific organization by its ID.

Return

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

Parameters

organizationId

The unique identifier of the organization

See also

com.clerk.api.organizations.get