technitium 0.4.0

Typed async Rust client for the Technitium DNS Server API
Documentation
# Enable DHCP Scope

## Endpoint

`/api/dhcp/scopes/enable`

Obsolete path: `/api/enableDhcpScope`

## Method

GET

## Description

Enables the DHCP scope, allowing the server to begin allocating leases to clients within the scope's address range.

## Authentication

Required. Token must have **DhcpServer: Modify** permission.

## Parameters

| Name | Type | Required | Conditional | Description |
|------|------|----------|-------------|-------------|
| `token` | string | Yes | No | The session token generated by the `login` or the `createToken` call. |
| `name` | string | Yes | No | The name of the DHCP scope to enable. |

## Response Fields

Empty response object on success.

## Conditional Logic Notes

- None. This is a simple state-change operation.

## Edge Cases

- Enabling an already-enabled scope is not documented as producing an error; it likely succeeds silently.
- The scope must exist; behavior when targeting a nonexistent scope is not documented.
- Enabling a scope will cause the DHCP server to start listening for DHCP requests on the network interface associated with the scope's address range.