Organization
The Organization object holds information about an organization, as well as methods for managing it.
Organizations in Clerk represent a collection of users and provide a structured way to manage permissions, roles, and memberships within your application. This data class contains all the essential information about an organization and provides companion methods for creation and retrieval.
Properties
Whether the admin of an organization can delete it.
The maximum number of memberships allowed for the organization.
The number of members the associated organization contains.
The number of pending invitations to users to join the organization.
Metadata that can be read from the Frontend API and Backend API and can be set only from the Backend API.
Functions
Bulk create an invitation for a user to join an organization.
Creates a new domain for this organization.
Create an invitation for a user to join an organization. *
Creates a new membership for this organization.
Deletes this organization.
Deletes a domain from this organization.
Deletes the organization's current logo image.
Retrieves a specific domain by its unique identifier.
Retrieves all domains associated with this organization.
Retrieve all invitations for an organization. The current user must have permissions to manage the members of the organization.
Retrieves all membership requests for this organization.
Retrieves the memberships for this organization.
Retrieves the list of roles available within this organization.
Removes a member from the organization.
Updates the organization's name and/or slug.
Updates the organization's logo image.