---
name: gws-events-renew
description: "Google Workspace Events: Renew/reactivate Workspace Events subscriptions."
license: "Apache-2.0"
metadata:
  decimalai-skill-id: "5a171378-0beb-43d6-a81a-e41fcaef3e4b"
  decimalai-version-id: "c141c028-c977-4891-9544-905fa93974e6"
  decimalai-version: "1"
  decimalai-body-sha256: "7200f0ebb5550a28335ab3265e3f3748a6ab8c2494420b3f509d92885d6ee1cb"
  decimalai-name: "gws-events-renew"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "devops"
  decimalai-source: "https://app.decimal.ai/s/gws-events-renew@1/SKILL.md"
---
# 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
