social.coves.community.comment.delete

Delete a comment. Only the comment author can delete their own comments.

Repository @coves.social did:web:coves.social namespace authority
Details · procedure
Kindprocedure
Authoritycomment.community.coves.social
Indexed
cid bafyreif3f575nn3xkmyo3y5fxlf2tt62g7m6fgmymi26dvbjgjsv5idklu

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Delete a comment. Only the comment author can delete their own comments.",
      "errors": [
        {
          "description": "Comment with the specified URI does not exist",
          "name": "CommentNotFound"
        },
        {
          "description": "User is not authorized to delete this comment (not the author)",
          "name": "NotAuthorized"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "uri": {
              "description": "AT-URI of the comment to delete",
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "uri"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {},
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "social.coves.community.comment.delete",
  "lexicon": 1
}