pub.chive.admin.deleteContent

chive.pub

Documentation

Soft-delete content from the index by URI and collection

main procedure

Soft-delete content from the index by URI and collection

Input

Encodingapplication/json
collection string Required

Collection NSID

reason string Optional

Reason for deletion

uri stringat-uri Required

AT-URI of the content to delete

Output

Encodingapplication/json
success boolean Required

Whether the content was deleted

Errors

AuthenticationRequired
AdminRequired
InvalidRequest
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "type": "procedure",
  "input": {
    "schema": {
      "type": "object",
      "required": [
        "uri",
        "collection"
      ],
      "properties": {
        "uri": {
          "type": "string",
          "format": "at-uri",
          "description": "AT-URI of the content to delete"
        },
        "reason": {
          "type": "string",
          "description": "Reason for deletion"
        },
        "collection": {
          "type": "string",
          "description": "Collection NSID",
          "knownValues": [
            "pub.chive.eprint.submission",
            "pub.chive.review.comment",
            "pub.chive.review.endorsement",
            "pub.chive.eprint.userTag"
          ]
        }
      }
    },
    "encoding": "application/json"
  },
  "errors": [
    {
      "name": "AuthenticationRequired"
    },
    {
      "name": "AdminRequired"
    },
    {
      "name": "InvalidRequest"
    }
  ],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "success"
      ],
      "properties": {
        "success": {
          "type": "boolean",
          "description": "Whether the content was deleted"
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Soft-delete content from the index by URI and collection"
}

Lexicon Garden

@