Skip to content
Navigation
POST/moderation/posts/{postId}/reject

Reject a post

Soft-delete a pending post (restoring returns it to the queue).

Parameters

NameInTypeDescription
postIdrequiredpathstringPost ID

Request body

FieldTypeDescription
reasonstringOptional rejection reason

Response

OK

FieldTypeDescription
okrequiredboolean

Errors

400Validation error
401Unauthorized
404Not found

Example request

curl \
  -X POST \
  "https://feedback.quackback.io/api/v1/moderation/posts/:postId/reject" \
  -H "Authorization: Bearer qb_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
  "reason": "example_reason"
}'