DELETE /asset/v1/content/categories/{categoryId}
Deletes a Content Builder category by ID.
| Name | Type | Description |
|---|---|---|
| id | number | Required. The ID of the category to delete. |
| Status | Name | Type | Description |
|---|---|---|---|
| 200 | OK | ||
| message | string | The resource was successfully deleted. | |
| 403 | Unauthorized | ||
| Message | string | Insufficient privileges | |
| ErrorCode | number | 20002 | |
| 404 | Not found | ||
| Message | string | Object not found | |
| ErrorCode | number | 30003 | |
| 500 | Internal server error | ||
| Message | string | No message | |
| ErrorCode | number | 10000 |
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.