Skip to main content

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​

CQP deleted. The response has no body.