pub.chive.admin.deleteContent
Soft-delete content from the index by URI and collection
Repository
@lexicons.governance.chive.pub did:plc:egjghlwgts2hlcer2txilxeh
not from the namespace authority
Details · procedure
| Kind | procedure |
|---|---|
| Authority | admin.chive.pub |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.collectionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.reasonNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Soft-delete content from the index by URI and collection",
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "AdminRequired"
},
{
"name": "InvalidRequest"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"collection": {
"description": "Collection NSID",
"knownValues": [
"pub.chive.eprint.submission",
"pub.chive.review.comment",
"pub.chive.review.endorsement",
"pub.chive.eprint.userTag"
],
"type": "string"
},
"reason": {
"description": "Reason for deletion",
"type": "string"
},
"uri": {
"description": "AT-URI of the content to delete",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"collection"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"success": {
"description": "Whether the content was deleted",
"type": "boolean"
}
},
"required": [
"success"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "pub.chive.admin.deleteContent",
"lexicon": 1,
"revision": 1
}