Delete a CQP
DELETE/api/v1/customer-data/:entity_type/:custom_id/cqps/:cqp_id
Deletes a CQP from a product, item, or material identified by a custom_id scoped to the caller's organization. Deletes are restricted to the caller's own catalog; dataProviderCustomId is supported only by LIST and GET. Once deleted, the CQP and its nested mitigations, verifications, and attachments are no longer returned by LIST or GET, and the combination of its name and cqpType becomes available again for a new CQP on the same host. A CQP that is already carried by one or more inspections cannot be deleted: the request fails with 409 and the code CQP_IN_USE, and the CQP is left unchanged. Deleting a CQP that does not exist, or was already deleted, returns 404.
Request​
Responses​
- 204
- 400
- 401
- 403
- 404
- 409
- 500
CQP deleted. The response has no body.
Validation failed. The response is either field-level validation errors or the duplicate (name, cqpType) error.
Missing or invalid API key.
Authenticated, but not permitted to act on the product.
Product or CQP not found in the applicable catalog scope.
The CQP is carried by one or more inspections and cannot be deleted. The CQP is left unchanged.
Unexpected server error.