The Backend OrganizationMembership
object
The Backend OrganizationMembership
object is similar to the OrganizationMembership
object as it's the model around an organization membership entity and describes the relationship between users and organizations. However, the Backend OrganizationMembership
object is different in that it's used in the Backend API and is not directly accessible from the Frontend API.
Properties
- Name
-
organization
- Type
Organization
- Description
The organization that the user is a member of.
- Name
-
privateMetadata
- Type
OrganizationMembershipPrivateMetadata
- Description
Metadata that can be read and set only from the Backend API.
- Name
-
publicMetadata
- Type
OrganizationMembershipPublicMetadata
- Description
Metadata that can be read from the Frontend API and Backend API and can be set only from the Backend API.
- Name
-
publicUserData?
- Type
null | OrganizationMembershipPublicUserData
- Description
Public information about the user that this membership belongs to.
- Name
-
identifier
- Type
string
- Description
The identifier of the user.
- Name
-
imageUrl
- Type
string
- Description
Holds the default avatar or user's uploaded profile image. Compatible with Clerk's Image Optimization.
Feedback
Last updated on