users_revoke_subscription
Revoke a user's VPN subscription and generate a new subscription link by providing their UUID.
Instructions
Revoke subscription for a Remnawave user (generates new subscription link)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | User UUID |
Implementation Reference
- src/tools/users.ts:208-220 (handler)The implementation of the `users_revoke_subscription` tool, which calls `client.revokeUserSubscription(uuid)`.
server.tool( 'users_revoke_subscription', 'Revoke subscription for a Remnawave user (generates new subscription link)', { uuid: z.string().describe('User UUID'), }, async ({ uuid }) => { try { const result = await client.revokeUserSubscription(uuid); return toolResult(result); } catch (e) { return toolError(e); }