# social.coves.community.post.delete

> Published by [coves.social](https://lexicon.garden/identity/did:web:coves.social)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:web:coves.social/social.coves.community.post.delete)
- [Documentation](https://lexicon.garden/lexicon/did:web:coves.social/social.coves.community.post.delete/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:coves.social/social.coves.community.post.delete/examples)

## Definitions

### `social.coves.community.post.delete`

**Type**: `procedure`

Delete a post

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `uri` | `string` (at-uri) | Yes | AT-URI of the post to delete |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|

#### Errors

- **PostNotFound**: Post not found
- **NotAuthorized**: User is not authorized to delete this post

## Raw Schema

```json
{
  "id": "social.coves.community.post.delete",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "uri"
          ],
          "properties": {
            "uri": {
              "type": "string",
              "format": "at-uri",
              "description": "AT-URI of the post to delete"
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "PostNotFound",
          "description": "Post not found"
        },
        {
          "name": "NotAuthorized",
          "description": "User is not authorized to delete this post"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "properties": {}
        },
        "encoding": "application/json"
      },
      "description": "Delete a post"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
