Delete a BPRelationship

With this method, you delete a BPRelationship with the specified ID.

Deleting a relationship is always necessary when you plan to delete one of the two business partners that are connected via that relationship. Otherwise, the remaining business partner would continue to carry the information about being related to the now deleted business partner, thus bringing the system into an inconsistent state. There is no automatic cascading of delete information to the affected objects.

Request

URI: /BPRelationships('<relationshipID>')

HTTP Method: DELETE

Permissions:

<bp>.d

<bp>.tenant.r

Request Header Fields

Name Required Description
X-CSRF-Token Yes Cross site request forgery token

Request Parameters

None.

Request Example

/BPRelationships('95bf365108dc49a78e9ce4c173e3acd6')

Response

Response Status and Error Codes

Code Description
204 Relationship deleted successfully