Reference
Membership

Membership

This object represents the relationship between a user and an org.

Example membership
  {
      "id": "64ef781641f414053243d4c0",
      "createdAt": "2023-08-30T17:10:46.404Z",
      "orgId": "64ef781641f414053243d4bf",
      "role": "OWNER",
      "updatedAt": "2023-08-30T17:10:46.404Z",
      "userId": "6466ae1b03fab9ddd1d67c40"
  }

Properties

createdAt Date

The creation date for this membership.


id string

The unique ID of the membership.


org Org

The org associated with the membership.


orgId string

The ID of the org associated with the membership.


role Role

The role of the associated user within the associated org.


updatedAt Date

The time of last update for the membership.


user User

The user associated with the membership.


userId string

The ID of the user associated with the membership.


© 2024 ProteusAI. All rights reserved