# Delete relations Delete relations from a storage. Endpoint: POST /v4/storages/{storageId}/relations/delete Version: 5 Security: apiKey ## Path parameters: - `storageId` (string, required) Unique identifier of the Storage. Example: "72d6900fce6b326088f5d9d91049e3e6" ## Request fields (application/json): - `relations` (array) List of relations to delete. - `relations.startNode` (object, required) Unique identifiers for Business Partner in the relation - `relations.startNode.externalId` (string) Arbitrary identifier type to mark customer IDs that are "external" from CDQ's perspective. This is the identifier a customer provides to identify its records. Example: "The ID managed in the customer's SAP systems." - `relations.startNode.dataSourceId` (string) Unique identifier for a Data Source of the Storage. Example: "648824a691d8d2503d65103e" - `relations.endNode` (object) Unique identifiers for Business Partner in the relation - `relations.type` (string) Technical Key of the Business Partner Relation Type. Example: "COMMERCIAL_ULTIMATE" - `relations.class` (object) Provides information about the classification of the relation that is to be deleted. - `relations.class.technicalKey` (string) Technical Key of the Business Partner Relation Class. Example: "BUSINESS_PARTNER_RELATION_CLASS_CDQ_HIERARCHY" ## Response 200 fields (application/json): - `deleted` (integer) Number of deleted relations. Example: "10"