POST
/moderation/posts/{postId}/rejectReject a post
Soft-delete a pending post (restoring returns it to the queue).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
postIdrequired | path | string | Post ID |
Request body
| Field | Type | Description |
|---|---|---|
reason | string | Optional rejection reason |
Response
OK
| Field | Type | Description |
|---|---|---|
okrequired | boolean |
Errors
400Validation error401Unauthorized404Not foundExample 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"
}'