# dflow tokens:revoke

> Revoke a token after the display prefix is confirmed.

Web page: /docs/cli/access/tokens-revoke/

This revokes a token so it stops working. `--confirm` is the display prefix shown in the list, not the token id and not the secret. A missing `--confirm` does not revoke anything.

```bash
dflow tokens:revoke ID --confirm PREFIX
```

## Flags

`--confirm` is the display prefix, not the token id.

## What you see

The token stops working.

## When it fails

A missing `--confirm` does not revoke it.
