Skip to main content

Delete Category

DELETE/api/v1/dashboard/content/categories/{category_id}

Overview

Permanently deletes a category. Posts assigned to this category will have it removed. If the category has children, they are promoted to top-level (their parent_id is set to null). This action cannot be undone.

Authentication

info

Bearer authentication required - Pass your credentials as Authorization: Bearer <client_id>:<api_key>:<api_secret>.

Headers

HeaderTypeRequiredDescription
AuthorizationstringYesBearer <client_id>:<api_key>:<api_secret>

Path Parameters

ParameterTypeRequiredDescription
category_idstring (UUID)YesThe unique identifier of the category to delete

Response

successboolean

Always true on successful deletion

Example Request

curl -X DELETE "https://spideriq.ai/api/v1/dashboard/content/categories/cat-004-uuid" \
-H "Authorization: Bearer $CLIENT_TOKEN"

Example Response

{
"success": true
}

Status Codes

Status CodeMeaningDescription
200OKCategory deleted successfully
401UnauthorizedInvalid or missing Bearer token
404Not FoundCategory not found or belongs to another client