api_tokens_create
Create a new Remnawave API token with a name, expiration in days, and scopes. Requires an admin JWT; API-key access is forbidden.
Instructions
Create a new API token. This endpoint is forbidden to use via "API-key". It can only be used with an admin JWT-token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the API token | |
| scopes | No | Scopes of the API token | |
| expiresInDays | Yes | Expiration days of the API token |