users_extend_expiration
Extend a Remnawave user's expiration date by a set number of days, reactivating expired users while preserving disabled or limited status.
Instructions
Extend user expiration date. If user status is EXPIRED, the new expiration date is calculated from the current date and the user becomes ACTIVE. If user status is ACTIVE, the given number of days is added to the existing expiration date. DISABLED and LIMITED users will be extended, but their status will not change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | The number of days to extend the expiration date. | |
| userId | Yes |