add(Adds a new relationship to a role with the specified contact id to the current context and returns the relationship.request
):Promise
<Relationship
>
AddRelationshipRequest
the add relationship request.
Promise
<Relationship
>
get(Gets the relationships of a role for the current context.roleId
):Promise
<Relationships
>
string
the role id to get relationships from.
Promise
<Relationships
>
the relationships of a role for the current context.
remove(Removes the specified relationship from a role for the current context. Returns the remaining relationships for that role.roleId
,id
):Promise
<Relationships
>
string
the role id to remove from.
string
the relationship id to remove.
Promise
<Relationships
>
update(Updates the relationship associated to the specified role id and returns the relationship.request
):Promise
<Relationship
>
UpdateRelationshipRequest
the update request.
Promise
<Relationship
>