OrganizationMembership object is the model around an organization membership entity and describes the relationship between users and organizations.
|A unique identifier for this organization membership.|
|Custom metadata that are visible to the frontend.|
|The role of the current user in the organization.|
|Public information about the user that this membership belongs to.|
|The organization object the membership belongs to.|
|Date of the time the membership was created.|
|Date of the last time the membership was updated.|
function destroy(): Promise<OrganizationMembership>;
Deletes the membership from the organization it belongs to.
|This method returns a |
function update(updateParams: UpdateOrganizationMembershipParams): Promise<OrganizationMembership>;
|The role of the new member.|