# social.colibri.beta.actor.getDeletionStatus

> Published by [colibri.social](https://lexicon.garden/identity/did:plc:mprdjqjluoswa7awzggaggj3)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:mprdjqjluoswa7awzggaggj3/social.colibri.beta.actor.getDeletionStatus)
- [Documentation](https://lexicon.garden/lexicon/did:plc:mprdjqjluoswa7awzggaggj3/social.colibri.beta.actor.getDeletionStatus/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:mprdjqjluoswa7awzggaggj3/social.colibri.beta.actor.getDeletionStatus/examples)

## Definitions

### `social.colibri.beta.actor.getDeletionStatus`

**Type**: `query`

Gets what would happen if the requesting user deleted their account.

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `records` | `integer` | Yes | How many indexed records would be removed. |
| `notifications` | `integer` | Yes | How many notifications would be removed. |
| `soleOwnedCommunities` | `array` | Yes | Communities the user solely owns, which block deletion until transferred or deleted. |

#### Errors

- **AuthRequired**: The request has no valid service auth.

## Raw Schema

```json
{
  "id": "social.colibri.beta.actor.getDeletionStatus",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "AuthRequired",
          "description": "The request has no valid service auth."
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "records",
            "notifications",
            "soleOwnedCommunities"
          ],
          "properties": {
            "records": {
              "type": "integer",
              "description": "How many indexed records would be removed."
            },
            "notifications": {
              "type": "integer",
              "description": "How many notifications would be removed."
            },
            "soleOwnedCommunities": {
              "type": "array",
              "items": {
                "ref": "social.colibri.beta.community.defs#communityView",
                "type": "ref"
              },
              "description": "Communities the user solely owns, which block deletion until transferred or deleted."
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Gets what would happen if the requesting user deleted their account."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
