headless lms

Dismiss the open flags on a comment (staff)

POST /api/communities/{communityId}/comments/{commentId}/flags/resolution. Dismiss the open flags on a comment (staff). Headless LMS Communities API reference.

POST
/api/communities/{communityId}/comments/{commentId}/flags/resolution

Staff only (owner, admin, instructor). Closes every open flag on the comment and leaves it up.

Path Parameters

communityId*string
commentId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/communities/string/comments/string/flags/resolution" \  -H "Content-Type: application/json" \  -d '{    "resolution": "dismissed"  }'
null
{  "error": "string",  "message": "string",  "requestId": "string",  "issues": [    {      "path": "string",      "message": "string"    }  ]}
{  "error": "string",  "message": "string",  "requestId": "string"}
{  "error": "string",  "message": "string",  "requestId": "string"}
{  "error": "string",  "message": "string",  "requestId": "string"}
{  "error": "string",  "message": "string",  "requestId": "string"}