ZRM Docs
Domain Model

Workspace Membership

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYesId
createdAtstring.date-timeYesCreated at
updatedAtstring.date-timeYesUpdated at
workspaceIdstringYesID of the associated workspace
userIdstringYesID of the associated user
membershipStatusenum(active, inactive, invited)YesMembership status
defaultWorkspacebooleanYesDefault workspace
joinedAtstring.date-timeNoJoined at
leftAtstring.date-timeNoLeft at

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
workspaceIdstringYesID of the associated workspace
userIdstringYesID of the associated user
membershipStatusenum(active, inactive, invited)Yes"active"Membership status
defaultWorkspacebooleanYesfalseDefault workspace
joinedAtstring.date-timeNoJoined at
leftAtstring.date-timeNoLeft at

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
membershipStatusenum(active, inactive, invited)No"active"Membership status
defaultWorkspacebooleanNofalseDefault workspace
joinedAtstring.date-timeNoJoined at
leftAtstring.date-timeNoLeft at

On this page