Skip to main content
DELETE
/
commerce
/
catalog
/
admin
/
categories
/
{categoryId}
Error
A valid request URL is required to generate request examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme.

Path Parameters

categoryId
integer<int32>
required

Unique identifier of the category that you want to delete.

Query Parameters

cascadeDelete
boolean
default:false

If true, any subcategories of a category are deleted when this category is deleted. Otherwise only the given category is deleted. Default is false.

forceDelete
boolean
default:false

If true, category (and optionally subcategories) will be deleted even if there are products referecing them. Default is false.

reassignToParent
boolean
default:false

If true, and child categories of the given category will be reassigned to the parent of the given category. Only applies if cascadeDelete is false. Default is false.

Response

200

Success