Skip to main content

Delete Post

DELETE/api/v1/dashboard/content/posts/{post_id}

Overview

Permanently deletes a blog post. This action cannot be undone. The post is removed regardless of its current status (draft, published, archived).

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
post_idstring (UUID)YesThe unique identifier of the post to delete

Response

successboolean

Always true on successful deletion

Example Request

curl -X DELETE "https://spideriq.ai/api/v1/dashboard/content/posts/a1b2c3d4-e5f6-7890-abcd-ef1234567890" \
-H "Authorization: Bearer $CLIENT_TOKEN"

Example Response

{
"success": true
}

Status Codes

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