DELETE /asset/v1/content/categories/{categoryId}

Deletes a Content Builder category by ID.

NameTypeDescription
idnumberRequired. The ID of the category to delete.
StatusNameTypeDescription
200  OK
 messagestringThe resource was successfully deleted.
    
403  Unauthorized
 MessagestringInsufficient privileges
 ErrorCodenumber20002
    
404  Not found
 MessagestringObject not found
 ErrorCodenumber30003
    
500  Internal server error
 MessagestringNo message
 ErrorCodenumber10000

To delete a category, issue a DELETE request to the /asset/v1/content/categories/{categoryId} endpoint, replacing {categoryId} with the unique ID of the category you want to delete.

If the category was deleted, the API returns a 200 OK status.