Skip to main content
Docs

OrganizationMembership

The OrganizationMembership object is the model around an organization membership entity and describes the relationship between users and organizations.

Properties

Methods

destroy()

Deletes the membership from the organization it belongs to.

function destroy(): Promise<OrganizationMembership>

update()

Updates the member's role.

function update(updateParams: UpdateOrganizationMembershipParams): Promise<OrganizationMembership>
  • Name
    role
    Type
    string
    Description

    The role of the new member.

Feedback

What did you think of this content?

Last updated on