Delete a third party owned RelationshipAttribute and notify peer
This use case is deprecated and will be removed in the next major version. Please use the use case Delete a ThirdPartyRelationshipAttribute and notify peer instead.
This use case allows you to delete a ThirdPartyRelationshipAttribute, i.e. a LocalAttribute that has the property shareInfo.thirdPartyAddress set.
Parameters
- The
attributeIdof the ThirdPartyRelationshipAttribute you want to delete.
On Success
- The ThirdPartyRelationshipAttribute will be deleted.
- All predecessors of the ThirdPartyRelationshipAttribute will be deleted.
- If the ThirdPartyRelationshipAttribute was succeeded, the
succeedsproperty of the successor will be set to undefined. - A Notification with a ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem is sent to the peer of the Attribute, informing them that you deleted the Attribute. Technically, the Attribute of the peer and all predecessors will get a
deletionInfowithdeletionStatus"DeletedByPeer"and the time of receiving the Notification asdeletionDate. - The
notificationIdis returned.
On Failure
- No Attribute can be deleted if you don’t have a LocalAttribute with given
attributeId. - No Attribute can be deleted if the Attribute with given
attributeIdis not a ThirdPartyRelationshipAttribute.