## pyre admin tokens prune

Remove every revoked or expired token row (all tenants, or --tenant)

```
pyre admin tokens prune [flags]
```

### Examples

```
  pyre admin tokens prune --yes
  pyre admin tokens prune --tenant 12 --yes
```

### Options

```
  -h, --help         help for prune
      --tenant int   only this tenant id
```

### Options inherited from parent commands

```
      --api string       API base URL (default from the profile, or https://api.pyredata.io)
      --ca-cert string   PEM file with an extra CA to trust (self-hosted managers)
      --insecure         skip TLS certificate verification (lab use only)
  -o, --output string    output format: table, json or plain (default "table")
      --profile string   config profile to use (see: pyre config)
  -q, --quiet            print results only, no notices
      --token string     API token (default from the profile; prefer PYRE_TOKEN in scripts)
  -y, --yes              answer yes to every confirmation (for scripts)
```

### SEE ALSO

* [pyre admin tokens](pyre_admin_tokens.md)	 - Every tenant's API tokens: list, revoke, remove, prune

