technitium 0.4.0

Typed async Rust client for the Technitium DNS Server API
Documentation
# Delete Blocked Zone

## Endpoint

`/api/blocked/delete`

Obsolete path: `/api/deleteBlockedZone`

## Method

GET

## Description

Allows deleting a zone from the Blocked Zones. Removes the specified domain from the blocked list so that it will no longer be blocked by the DNS server.

## Authentication

Required. A valid session token generated by the `login` or `createToken` call.

## Permissions

Blocked: Delete

## Parameters

| Name | Type | Required | Conditional | Description |
|------|------|----------|-------------|-------------|
| `token` | string | Yes | No | The session token generated by the `login` or the `createToken` call. |
| `domain` | string | Yes | No | The domain name for the zone to be deleted from the blocked list. |

## Response Fields

| Field | Type | Description |
|-------|------|-------------|
| `status` | string | `"ok"` on success. |

## Conditional Logic Notes

- No conditional parameters. Both `token` and `domain` are always required.
- Requires "Blocked: Delete" permission, which is distinct from the "Blocked: Modify" permission used for adding zones.

## Edge Cases

- Deleting a domain that does not exist in the Blocked Zones: the API docs do not specify whether this returns an error or silently succeeds.
- No `node` parameter is documented for this endpoint, so it may not support cluster-aware targeting.
- The response contains only a status field with no confirmation of which domain was deleted.