technitium 0.4.0

Typed async Rust client for the Technitium DNS Server API
Documentation
# Admin: Delete User

## Endpoint

`/api/admin/users/delete`

## Method

GET

## Description

Deletes a user account.

## Authentication

Required. Token must be provided via the `token` parameter.

## Permissions

Administration: Delete

## Parameters

| Name | Type | Required | Conditional | Description |
|------|------|----------|-------------|-------------|
| `token` | string | Yes | No | The session token generated by the `login` or the `createToken` call. |
| `user` | string | Yes | No | The username for the user account to delete. |

## Response Fields

Empty response object on success.

## Conditional Logic Notes

- Deleting a user will remove the account and presumably all associated sessions.

## Edge Cases

- Attempting to delete the last administrator account may result in an error to prevent lockout.
- Deleting a user who has active sessions will terminate those sessions.