# space.highport.manage.releaseDomain

> Published by [lexicons.highport.space](https://lexicon.garden/identity/did:plc:ciygg5hma4q7ah2kxaszkyob)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:ciygg5hma4q7ah2kxaszkyob/space.highport.manage.releaseDomain)
- [Documentation](https://lexicon.garden/lexicon/did:plc:ciygg5hma4q7ah2kxaszkyob/space.highport.manage.releaseDomain/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:ciygg5hma4q7ah2kxaszkyob/space.highport.manage.releaseDomain/examples)

## Definitions

### `space.highport.manage.releaseDomain`

**Type**: `procedure`

Release a domain: deactivate its site and stop authorizing it for TLS. Certificates already issued for it stay valid until they expire. If the domain is a base with a wildcard grant, the grant ends and the wildcard is revoked and deleted; no account can take the domain until that finishes. Stored blobs are left for 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.
- **DomainIsDelegationProbe**: The domain is a delegation base's probe. Use disableDelegation to remove it.

## Raw Schema

```json
{
  "id": "space.highport.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."
        },
        {
          "name": "DomainIsDelegationProbe",
          "description": "The domain is a delegation base's probe. Use disableDelegation to remove it."
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "released"
          ],
          "properties": {
            "released": {
              "type": "boolean"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Release a domain: deactivate its site and stop authorizing it for TLS. Certificates already issued for it stay valid until they expire. If the domain is a base with a wildcard grant, the grant ends and the wildcard is revoked and deleted; no account can take the domain until that finishes. Stored blobs are left for garbage collection."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
