DELETE /v1/admin/community/posts/\{post_id\}
Service: community · operationId: (none)
Required scopes
(no scope declared — review service config)
Path parameters
post_id(string) required —
Request body
{
"type": "object",
"properties": {
"reason": {
"type": "string",
"minLength": 1
}
},
"required": [
"reason"
]
}Responses
200 Post soft-deleted
{
"type": "object",
"properties": {
"success": {
"type": "boolean",
"enum": [
true
]
},
"deleted_at": {
"type": "string"
},
"post_id": {
"type": "string"
}
},
"required": [
"success",
"deleted_at",
"post_id"
]
}404 Post not found
{
"type": "object",
"properties": {
"error": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"error",
"message"
]
}Example
curl -X DELETE https://community.platform.loop.health/v1/admin/community/posts/{post_id} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'Related
services/community— service overview- All endpoints — directory across services
- Auth model — how scopes are enforced