profile#teammemberremove

Message

a member (user) is removed from the team

Payload Example(s) (generated)

{
  "topic": "realestate/profile#teammemberremove",
  "data": {
    "type": "RemoveAction",
    "object": {
      "type": "RealEstateTeamMembership",
      "roleName": "TeamMember",
      "memberOf": "https://{team-id}.example.com/profile/card#me",
      "member": "https://{agent}.example.com/profile/card#me",
      "startDate": "2019-08-24T14:15:22Z",
      "endDate": "2019-08-24T14:15:22Z"
    }
  }
}

Payload

NameTypeDescription
(root)object-
topicstringconst ("realestate/profile#teammemberremove")
dataobject-
data.typestringconst ("RemoveAction")
data.objectallOf-
data.object.0 (allOf item)objectdescribes a role played by a member and a group or organization.
data.object.0.typestringallowed ("OrganizationRole") a role played by the member in the memberOf group
data.object.0.roleNamestringthe role name
data.object.0.memberOfobjectthe org or group where the role is performed
data.object.0.memberstringmember object or id format (uri)
data.object.0.startDatestringdate the member began performing this role format (date-time)
data.object.0.endDatestringdate the member stopped performing the role format (date-time)
data.object.1 (allOf item)objecta membership relationship. Subclass of OrganizationRole
data.object.1.typestringallowed ("RealEstateTeamMembership") a member of a real estate team
data.object.1.roleNamestringallowed ("TeamMember", "TeamAdmin", "TeamOwner")
data.object.1.memberOfstringformat (uri)
data.object.1.memberstringformat (uri)

Headers

NameTypeDescription
(root)object-
timestringdate & time the event was produced format (date-time)
agentstringif you are a multi-tenant app, then the agent is the user associated with the event data. any future events related to this message will be sent to the same agent/recipient format (uri)
instrumentstringthe app or service that produced the event on behalf of the agent/user format (uri)
sourcestringa copy of the event was sent to the source(s). format (uri)
originalRecipientstringthe originalRecipient helps you determine the subscription that delivered the event to you. if the originalRecipient is the same as the agent, then the you are subscribed to the agent. if the originalRecipient is different from the agent, then you are subscribed to the event source format (uri)
idstringthe Event ID (aka "Publish ID") is the immutable canonical identifier for the event. it is a URI that is unique to the event and will not change. all subscribers will receive the same id for the same event. format (uri)
@idstringformat (uri)

Tools