Share

Delete a category

DELETE /api/category/v1/category/{categoryId} deletes the category specified in the request body and its associated attributes, as well as child categories and their attributes. The deleted categorization is also removed from any items it was added to.

Request schema

Method URL
DELETE /api/category/v1/category/{categoryId}

Request header

*indicates required parameters

Field Value Type Description
*Authorization String Enter: Bearer access token.
*Upc-Selected-Company Integer Company’s ID. Use the value returned in the id field received in response to the following request: GET /api/auth/v1/companies.
*CategoryId Integer ID of the category to delete.
X-User-Id Text Enter the email address of the user being impersonated. This value is required if you are using a two-legged token. If you are using a three-legged token, then this field is not required.

Response schema

A successful request returns an empty 204-HTTP response.

Was this information helpful?