## pyre auth token

Create, list, revoke and remove API tokens

### Synopsis

A token expires 90 days after creation unless --expires says otherwise.
Revoke stops a token at once; its row stays for the record. Remove
deletes the row of a token that is already revoked or expired; prune
removes every such row at once.

```
pyre auth token [flags]
```

### Options

```
  -h, --help   help for token
```

### 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](pyre_auth.md)	 - Log in, log out, and manage API tokens
* [pyre auth token create](pyre_auth_token_create.md)	 - Mint a new token for the same user (shown once)
* [pyre auth token list](pyre_auth_token_list.md)	 - List this tenant's tokens with their state
* [pyre auth token prune](pyre_auth_token_prune.md)	 - Remove every revoked or expired token row
* [pyre auth token remove](pyre_auth_token_remove.md)	 - Delete the row of a revoked or expired token
* [pyre auth token revoke](pyre_auth_token_revoke.md)	 - Revoke a token: it stops working, the row stays for the record

