Flag notifications of a deleted comment

posthttps://api.expiryedge.com/v1/markCommentDeleted
bearer token (Firebase ID token or session JWT); any role60/minJede Methode
Anfrage
curl -X POST 'https://api.expiryedge.com/v1/markCommentDeleted' \
  -H "Authorization: Bearer $EXPIRYEDGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "comment_id": "cmt_9Lx2Rf"
}'
Antwort
{
  "success": true,
  "message": "Notifications marked as comment deleted"
}

Sets comment_deleted: true on every notification that references comment_id, so the UI can grey them out.

Body-Parameter

application/json
  • comment_idstringerforderlich

Rückgabe

200
Notifications flagged.
  • successboolean
  • messagestring

Fehler

400
The request is missing required fields or contains invalid values.
401
Missing, expired or invalid bearer token.
429
Too many requests for this endpoint from your IP. Wait Retry-After seconds.
500
Unexpected server error. Retry later; quote requestId to support.