A user's membership in an organization
| Field | Type | Required | Description |
|---|---|---|---|
id |
String | ✔️ | N/A |
object |
OrganizationMembershipObject | ✔️ | String representing the object's type. Objects of the same type share the same value. |
role |
String | ✔️ | N/A |
roleName |
Optional<String> | ➖ | N/A |
permissions |
List<String> | ✔️ | N/A |
publicMetadata |
Map<String, Object> | ✔️ | Metadata saved on the organization membership, accessible from both Frontend and Backend APIs |
privateMetadata |
Map<String, Object> | ➖ | Metadata saved on the organization membership, accessible only from the Backend API |
organization |
OrganizationMembershipOrganization | ✔️ | N/A |
publicUserData |
Optional<OrganizationMembershipPublicUserData> | ➖ | An organization membership with public user data populated |
createdAt |
long | ✔️ | Unix timestamp of creation. |
updatedAt |
long | ✔️ | Unix timestamp of last update. |