Posts
Delete a post
Deletes a post that never went out. Deleting through the API always asks a person first: the answer is 202 with the approval request.
DEL
https://traceeai.com/api/v1/posts/{postId}CLI:tracee posts delete·MCP:postsaction delete
Authorizations
AuthorizationstringheaderrequiredBearer <key>: a personal key (tracee loginor Settings → Personal keys), a workspace key, or an MCP client's OAuth token. See Authentication.
Headers
Tracee-WorkspacestringFor a personal key or OAuth token that reaches several workspaces: the workspace id to act on. Workspace keys don't need it.
uuid
Path parameters
postIdstringrequireduuid
Query parameters
notestringContext for the person who approves it.
up to 500 characters
Response
- 200Deleted.DeleteResult
statusstringrequiredAvailable options:
deletedpending_approvalapprovalRequestIdstring | nullrequireduuid
messagestring | nullrequiredpostIdstringrequireduuid
- 202Waiting for a person's approval.DeleteResult
statusstringrequiredAvailable options:
deletedpending_approvalapprovalRequestIdstring | nullrequireduuid
messagestring | nullrequiredpostIdstringrequireduuid