# urbestack-token-revoke

First published 3 Oct 2026 (release 0.1.0) · Unchanged since publication

UrbeStack release 0.2.35 command, run as root in the server shell.

## Usage

```
urbestack-token-revoke --id N [--user NAME]
```

## Description

Revokes the token identified by --id and closes any customer sessions it opened. It also revokes any plugin tokens tied directly to that token. With --user, the token must belong to the named user.

## Same in the API

- [POST /auth/logout](https://urbestack.com/docs/api/post-auth-logout.md): Revoke the token used for this request
- [DELETE /tokens/{id}](https://urbestack.com/docs/api/delete-tokens-id.md): Revoke one of the caller's tokens
- [DELETE /users/{name}/tokens/{id}](https://urbestack.com/docs/api/delete-users-name-tokens-id.md): Revoke a user's token

## Command family: token

- [urbestack-token-create](https://urbestack.com/docs/commands/urbestack-token-create.md): Creates a token for the active UrbeStack user named by --user.
