## pyre auth token remove

Delete the row of a revoked or expired token

### Synopsis

Only a token that no longer works can be removed; an active one is
refused (revoke it first, or pass --force to revoke and remove in one
go).

```
pyre auth token remove <id> [flags]
```

### Examples

```
  pyre auth token remove 7
  pyre auth token remove 7 --force --yes   # revoke, then remove
```

### Options

```
      --force   revoke first if the token is still active
  -h, --help    help for remove
```

### 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 auth token](pyre_auth_token.md)	 - Create, list, revoke and remove API tokens

