technitium 0.4.0

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

## Endpoint

`/api/admin/sessions/delete`

## Method

GET

## Description

Deletes a specified user's session.

## 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. |
| `node` | string | No | No | The node domain name for which the API call is intended. When unspecified, the current node is used. Can only be used when Clustering is initialized. |
| `partialToken` | string | Yes | No | The partial token of the session to delete, as returned by the list sessions API call. |

## Response Fields

Empty response object on success.

## Conditional Logic Notes

- The `node` parameter is only functional when Clustering is initialized.
- The `partialToken` value must match one returned from the List Sessions endpoint.

## Edge Cases

- Deleting the current session (the one used to authenticate the API call) would effectively log out the caller.
- Deleting an API token session revokes that token permanently.