# Delete product category

You can remove a product category. Be cautious, products assigned to this category will lose that assignment.

DELETE /product-categories/:id/

Attributes Type Required Description
id integer yes A unique identifier for the product category which is given by User.com automatically.

# Request

  • CURL
  • JavaScript
  • PHP
  • Python
 curl -X DELETE -H "Authorization: Token <your_64_char_api_key>"
     -H "Accept: */*; version=2" -d '' "https://<your_app_subdomain>.user.com/api/public/product-categories/:id/"