# place.wisp.v2.domain.delete

> Published by [wisp.place](https://lexicon.garden/identity/did:plc:7puq73yz2hkvbcpdhnsze2qw)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:7puq73yz2hkvbcpdhnsze2qw/place.wisp.v2.domain.delete)
- [Documentation](https://lexicon.garden/lexicon/did:plc:7puq73yz2hkvbcpdhnsze2qw/place.wisp.v2.domain.delete/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:7puq73yz2hkvbcpdhnsze2qw/place.wisp.v2.domain.delete/examples)

## Definitions

### `place.wisp.v2.domain.delete`

**Type**: `procedure`

Delete a claimed domain owned by the authenticated DID.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `domain` | `string` | Yes | Fully-qualified domain to delete (wisp subdomain or custom domain). |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `domain` | `string` | Yes |  |
| `deleted` | `boolean` | Yes |  |

#### Errors

- **AuthenticationRequired**
- **InvalidDomain**
- **NotFound**

## Raw Schema

```json
{
  "id": "place.wisp.v2.domain.delete",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "domain"
          ],
          "properties": {
            "domain": {
              "type": "string",
              "maxLength": 253,
              "minLength": 3,
              "description": "Fully-qualified domain to delete (wisp subdomain or custom domain)."
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "InvalidDomain"
        },
        {
          "name": "NotFound"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "domain",
            "deleted"
          ],
          "properties": {
            "domain": {
              "type": "string"
            },
            "deleted": {
              "type": "boolean",
              "const": true
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Delete a claimed domain owned by the authenticated DID."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
