# Clear Decisions Deletes decisions of a given type. Delete all if type not provided. Endpoint: POST /storages/{storageId}/decisions/clear Version: 2 Security: apiKey ## Path parameters: - `storageId` (string, required) Unique identifier of the Business Partner Storage. Example: "72d6900fce6b326088f5d9d91049e3e6" ## Request fields (application/json): - `type` (object) Type of decision log entry. - `type.technicalKey` (string) Technical key of the decision log type. Enum: "CURATIONS", "NATURAL_PERSONS", "DUPLICATES" - `dataSources` (array) List of Data Source IDs to be cleared. - `dataSources.id` (string, required) Unique identifier for a Data Source of the Storage. Example: "648824a691d8d2503d65103e" ## Response 200 fields (application/json): - `numberOfDeleted` (integer) Number of decisions deleted. Example: "10" ## Response 400 fields (application/json): - `status` (object) Details about status or error of a service. - `status.code` (integer) RFC 7231 status code for this error. Example: "400" - `status.technicalKey` (string) Technical key describing the status or error Example: "OK" - `status.details` (array) List of details about the status or error. - `status.details.id` (integer, required) 9-digit code which is uniquely identifying a message Example: 200000004 - `status.details.message` (string, required) Human-readable message which may also be presented in user interface. Example: "Business Partner Name is mandatory." - `status.details.technicalKey` (string) Technical key to uniquely identify a message. Example: "JOB_FINISHED" - `status.details.jsonPath` (string) JSONPath as specified by the IETF standard Example: "$.businessPartner.names[0].value" - `status.details.jsonRecord` (string) Object provided in plain JSON format. Example: "{ \"key\" : \"value\"}" - `status.path` (string) Requested path which caused this error. Example: "/v2/businesspartners/lookup" - `status.timestamp` (string) ISO 8601 representation of the timestamp. Example: "2025-08-27T14:26:38Z"