at.protocube.deleteDraft
Delete the caller's working draft for one record. Idempotent: a missing or another user's row returns deleted=false.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | protocube.at |
| Commit rev | 3n275pbvsvw2v |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Delete the caller's working draft for one record. Idempotent: a missing or another user's row returns deleted=false.",
"errors": [
{
"name": "InvalidRequest"
},
{
"name": "Unauthorized"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"collection": {
"format": "nsid",
"type": "string"
},
"rkey": {
"format": "record-key",
"type": "string"
}
},
"required": [
"collection",
"rkey"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"deleted": {
"type": "boolean"
}
},
"required": [
"deleted"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "at.protocube.deleteDraft",
"lexicon": 1
}