# app.thesocialwire.socialDraft.deleteManifest

> Owner-only private draft storage. Authentication required; disabled storage returns Unavailable. Never publishes attachments or exposes public URLs.

- Kind: procedure
- Authority: socialDraft.thesocialwire.app
- Lexicon: 1
- Published by [samclemente.me](https://lexicon.garden/identity/did:plc:qy5pluw2bsuq2x6albsgkvx3), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/app.thesocialwire.socialDraft.deleteManifest)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/app.thesocialwire.socialDraft.deleteManifest/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/app.thesocialwire.socialDraft.deleteManifest/analytics)

## Procedure (`app.thesocialwire.socialDraft.deleteManifest`)

Type: procedure · POST

### Input (application/json)

- `draftId` (string, required): AT Protocol TID identifying the draft.
  - Constraints: minLength: 13, maxLength: 13
- `expectedRevision` (integer, required)
  - Constraints: minimum: 0

### Output (application/json)

- `schema` (ref)
  - Reference: `app.thesocialwire.socialDraft.defs#manifest`

### Errors

- `InvalidRequest`: No description in schema.
- `NotFound`: No description in schema.
- `Conflict`: No description in schema.
- `Quota`: No description in schema.
- `UploadPending`: No description in schema.
- `Unavailable`: No description in schema.
- `Unauthorized`: No description in schema.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Owner-only private draft storage. Authentication required; disabled storage returns Unavailable. Never publishes attachments or exposes public URLs.",
      "errors": [
        {
          "name": "InvalidRequest"
        },
        {
          "name": "NotFound"
        },
        {
          "name": "Conflict"
        },
        {
          "name": "Quota"
        },
        {
          "name": "UploadPending"
        },
        {
          "name": "Unavailable"
        },
        {
          "name": "Unauthorized"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "draftId": {
              "description": "AT Protocol TID identifying the draft.",
              "maxLength": 13,
              "minLength": 13,
              "type": "string"
            },
            "expectedRevision": {
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "draftId",
            "expectedRevision"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "app.thesocialwire.socialDraft.defs#manifest",
          "type": "ref"
        }
      },
      "type": "procedure"
    }
  },
  "id": "app.thesocialwire.socialDraft.deleteManifest",
  "lexicon": 1
}
```
