$npx -y skills add googleworkspace/cli --skill gws-events-renewGoogle Workspace Events: Renew/reactivate Workspace Events subscriptions.
| 1 | # events +renew |
| 2 | |
| 3 | > **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it. |
| 4 | |
| 5 | Renew/reactivate Workspace Events subscriptions |
| 6 | |
| 7 | ## Usage |
| 8 | |
| 9 | ```bash |
| 10 | gws events +renew |
| 11 | ``` |
| 12 | |
| 13 | ## Flags |
| 14 | |
| 15 | | Flag | Required | Default | Description | |
| 16 | |------|----------|---------|-------------| |
| 17 | | `--name` | — | — | Subscription name to reactivate (e.g., subscriptions/SUB_ID) | |
| 18 | | `--all` | — | — | Renew all subscriptions expiring within --within window | |
| 19 | | `--within` | — | 1h | Time window for --all (e.g., 1h, 30m, 2d) | |
| 20 | |
| 21 | ## Examples |
| 22 | |
| 23 | ```bash |
| 24 | gws events +renew --name subscriptions/SUB_ID |
| 25 | gws events +renew --all --within 2d |
| 26 | ``` |
| 27 | |
| 28 | ## Tips |
| 29 | |
| 30 | - Subscriptions expire if not renewed periodically. |
| 31 | - Use --all with a cron job to keep subscriptions alive. |
| 32 | |
| 33 | ## See Also |
| 34 | |
| 35 | - [gws-shared](../gws-shared/SKILL.md) — Global flags and auth |
| 36 | - [gws-events](../gws-events/SKILL.md) — All subscribe to google workspace events commands |