# lol.dids.manage.releaseDomain

> Published by [ngerakines.me](https://lexicon.garden/identity/did:plc:cbkjy5n7bk3ax2wplmtjofq2)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/lol.dids.manage.releaseDomain)
- [Documentation](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/lol.dids.manage.releaseDomain/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/lol.dids.manage.releaseDomain/examples)

## Definitions

### `lol.dids.manage.releaseDomain`

**Type**: `procedure`

Release a domain: deactivate its site, stop authorizing the domain at the TLS permission endpoint, and revoke and delete its certificate. The content-addressed blobs survive — they may be shared — and are reclaimed by garbage collection.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `domain` | `string` | Yes | The registered hostname. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `released` | `boolean` | Yes |  |

#### Errors

- **DomainNotFound**: No registration for that domain belongs to the caller.

## Raw Schema

```json
{
  "id": "lol.dids.manage.releaseDomain",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "domain"
          ],
          "properties": {
            "domain": {
              "type": "string",
              "maxLength": 253,
              "description": "The registered hostname."
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "DomainNotFound",
          "description": "No registration for that domain belongs to the caller."
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "released"
          ],
          "properties": {
            "released": {
              "type": "boolean"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Release a domain: deactivate its site, stop authorizing the domain at the TLS permission endpoint, and revoke and delete its certificate. The content-addressed blobs survive — they may be shared — and are reclaimed by garbage collection."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
