---
title: "Revoke user token"
method: POST
path: "/v1/users/{userId}/token/revoke"
tags: ["Users"]
---

# Revoke user token

`POST /v1/users/{userId}/token/revoke`

## Parameters

- `#/paths/~1v1~1organizations~1%7BorganizationId%7D~1users~1%7BuserId%7D/delete/parameters/1` — unresolved $ref

## Request body

- object
  - `userId` Id, required — unresolved $ref
  - `token` string, required — Truncated (last 7 characters) or full token value

## Response `200`

Responding with user token

- Schema — unresolved $ref

## Other responses

- `401` — Invalid token
- `403` — Caller is not authorized to perform this action
- `404` — User not found

---

[API](https://skmtc.net/tetrascience/apis/tetra-data-lake.md) · [All operations](https://skmtc.net/tetrascience/apis/tetra-data-lake/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tetrascience/tetra-data-lake/revisions/0205e2bace53/schema)
