# social.coves.community.unsubscribe

> 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.unsubscribe)
- [Documentation](https://lexicon.garden/lexicon/did:web:coves.social/social.coves.community.unsubscribe/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:coves.social/social.coves.community.unsubscribe/examples)

## Definitions

### `social.coves.community.unsubscribe`

**Type**: `procedure`

Unsubscribe from a community. Requires authentication.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `community` | `string` (at-identifier) | Yes | DID or handle of the community to unsubscribe from |

#### Output

**Encoding**: `application/json`

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

#### Errors

- **NotSubscribed**: Not currently subscribed to this community

## Raw Schema

```json
{
  "id": "social.coves.community.unsubscribe",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "community"
          ],
          "properties": {
            "community": {
              "type": "string",
              "format": "at-identifier",
              "description": "DID or handle of the community to unsubscribe from"
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "NotSubscribed",
          "description": "Not currently subscribed to this community"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "properties": {}
        },
        "encoding": "application/json"
      },
      "description": "Unsubscribe from a community. Requires authentication."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
