Create WireGuard client
create_clientCreates a new WireGuard client and returns its ID. Automated key generation and IP assignment eliminate manual configuration, so you can add users quickly and get them connected immediately.
Instructions
Create a new WireGuard client. Keys and IP addresses are generated by wg-easy. Returns the new client ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name of the new client | |
| expiresAt | No | Optional expiry date as ISO string (e.g. 2026-12-31). Omit for no expiry. |