Skip to API content
TalkLabs API Docs v3
Recipes
DELETE User sessions & access

Revoke all user tokens

Revoke every bearer token previously issued for a user.

DELETE /api/v3/{appid}/user/users/{userid}/tokens

Revoke every bearer token previously issued for a user.

Call this endpoint from your trusted backend. Tokens issued before the revocation cutoff stop being accepted, including tokens minted by TalkLabs and compatible tokens signed by your own identity system.

Request

Parameters

Values in the path and query string.

appid path
string TalkLabs ID required

The application the user belongs to.

Example: your-app-id
userid path
string customer-defined required

The user whose tokens are being revoked.

Example: u-8842
Response

Status codes

Every JSON response uses the API result envelope.

200 OK ApiResult
400 Bad Request ApiResult
401 Unauthorized ApiResult
404 Not Found ApiResult
500 Internal Server Error ApiResult
Search all 118 endpoints Try “join room”, “moderate”, or “POST”.
Request environment

Connect your application

These values fill request examples and the API console. They stay in this browser tab and are never sent to TalkLabs until you run a request.

Credentials are stored in sessionStorage, not in cookies or analytics.