Skip to main content
Skip table of contents

Delete a product

Request

To delete a product, send a DELETE request to:

http://<server>:<port>/cpm/commercial/v1/products/<_id> 

Mandatory fields

None

Example

A DELETE request to this URL deletes the product with the id PROVIDER_ID_001_PROVIDER_RESOURCE_ID_001:

http://<server>:<port>/cpm/commercial/v1/products/PROVIDER_ID_001_PROVIDER_RESOURCE_ID_001

Response

A successful request returns an HTTP 200 status and the URI of the deleted product.

A bad request returns an HTTP 400 status.

Example

A successful request returns a payload that looks like this:

CODE
{
    "self": "/commercial/v1/products/PROVIDER_ID_001_PROVIDER_RESOURCE_ID_001"
}

See also

For full details of this API, see Content and Product Manager (CPM) API documentation: commercial v1.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.