Soft-delete content from the index by URI and collection
Input
Encoding
application/jsoncollection
string
Required
Collection NSID
reason
string
Optional
Reason for deletion
uri
stringat-uri
Required
AT-URI of the content to delete
Output
Encoding
application/jsonsuccess
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.
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"
}