Organization methods
These methods on the Clerk
class allow you to create and read information about Organizations.
The following examples assume:
Retrieves information for a specific organization.
- Name
organizationId
- Type
string
- Description
The ID of the organization to be found.
The following example demonstrates how to retrieve information about the currently active organization.
Creates an organization programatically.
- Name
name
- Type
string
- Description
The name of the organization to be created.
- Name
slug?
- Type
string
- Description
The optional slug of the organization to be created.
Last updated on