# tools.kryphocron.feed.deletePostPrivate

> Delete a postPrivate record from the writer's own repository.

- Kind: procedure
- Authority: feed.kryphocron.tools
- Lexicon: 1
- Published by [lexicons.kryphocron.tools](https://lexicon.garden/identity/did:plc:femlcrrqw5ja23dlsqc6qtgy), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:femlcrrqw5ja23dlsqc6qtgy/tools.kryphocron.feed.deletePostPrivate)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:femlcrrqw5ja23dlsqc6qtgy/tools.kryphocron.feed.deletePostPrivate/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:femlcrrqw5ja23dlsqc6qtgy/tools.kryphocron.feed.deletePostPrivate/analytics)

## Procedure (`tools.kryphocron.feed.deletePostPrivate`)

Type: procedure · POST

### Input (application/json)

- `repo` (string · did, required): DID of the writer's repository. Must be the authenticated account.
- `rkey` (string · record-key, required): Record key of the post to delete.
  - Constraints: maxLength: 512

### Output (application/json)


### Errors

- `InvalidRequest`: The request is malformed.
- `Forbidden`: The caller may not write to this repository, or the host does not allow this account private-tier writes.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Delete a postPrivate record from the writer's own repository.",
      "errors": [
        {
          "description": "The request is malformed.",
          "name": "InvalidRequest"
        },
        {
          "description": "The caller may not write to this repository, or the host does not allow this account private-tier writes.",
          "name": "Forbidden"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "repo": {
              "description": "DID of the writer's repository. Must be the authenticated account.",
              "format": "did",
              "type": "string"
            },
            "rkey": {
              "description": "Record key of the post to delete.",
              "format": "record-key",
              "maxLength": 512,
              "type": "string"
            }
          },
          "required": [
            "repo",
            "rkey"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {},
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "tools.kryphocron.feed.deletePostPrivate",
  "lexicon": 1
}
```
