# Gws Events Renew

Google Workspace Events: Renew/reactivate Workspace Events subscriptions.

- Repository: https://github.com/googleworkspace/cli (32044 stars)
- Category: Engineering
- License: Apache-2.0
- Last updated: 2026-10-30
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add googleworkspace/cli --skill gws-events-renew -g -a claude-code -y`
Codex: `npx skills add googleworkspace/cli --skill gws-events-renew -g -a codex -y`
Cursor: `npx skills add googleworkspace/cli --skill gws-events-renew -g -a cursor -y`
Gemini CLI: `npx skills add googleworkspace/cli --skill gws-events-renew -g -a gemini-cli -y`

## Description

Google Workspace Events: Renew/reactivate Workspace Events subscriptions.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# events +renew

> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.

Renew/reactivate Workspace Events subscriptions

## Usage

```bash
gws events +renew
```

## Flags

| Flag | Required | Default | Description |
|------|----------|---------|-------------|
| `--name` |, |, | Subscription name to reactivate (e.g., subscriptions/SUB_ID) |
| `--all` |, |, | Renew all subscriptions expiring within --within window |
| `--within` |, | 1h | Time window for --all (e.g., 1h, 30m, 2d) |

## Examples

```bash
gws events +renew --name subscriptions/SUB_ID
gws events +renew --all --within 2d
```

## Tips

- Subscriptions expire if not renewed periodically.
- Use --all with a cron job to keep subscriptions alive.

## See Also

- [gws-shared](../gws-shared/SKILL.md), Global flags and auth
- [gws-events](../gws-events/SKILL.md), All subscribe to google workspace events commands

