---
title: "RevokeUserAuthToken revokes a user access token.
You can optionally pass \"current\" instead of the token ID to revoke the current token."
method: DELETE
path: "/v1/users/-/tokens/{tokenId}"
---

# RevokeUserAuthToken revokes a user access token.
You can optionally pass "current" instead of the token ID to revoke the current token.

`DELETE /v1/users/-/tokens/{tokenId}`

## Path parameters

- `tokenId` string, required

## Query parameters

- `superuserForceAccess` boolean

## Response `200`

A successful response.

- V1RevokeUserAuthTokenResponse

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/rilldata/apis/rill-admin-api.md) · [All operations](https://skmtc.net/rilldata/apis/rill-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rilldata/rill-admin-api/revisions/289a0ca9ce49/schema)
