at.unthread.document.deleteDraft
Delete a draft document.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | document.unthread.at |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.tidNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Delete a draft document.",
"errors": [
{
"name": "DraftNotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"tid": {
"description": "TID of the draft to delete.",
"type": "string"
}
},
"required": [
"tid"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"success": {
"type": "boolean"
}
},
"required": [
"success"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "at.unthread.document.deleteDraft",
"lexicon": 1
}