---
title: "Revoke an app token (idempotent) (v2, tenant actor)"
method: DELETE
path: "/v2/apps/{appId}/tokens/{tokenId}"
tags: ["Apps"]
---

# Revoke an app token (idempotent) (v2, tenant actor)

`DELETE /v2/apps/{appId}/tokens/{tokenId}`

## Request

- Base URL: `https://api.chat.ethora.com`
- URL: `https://api.chat.ethora.com/v2/apps/{appId}/tokens/{tokenId}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

**Auth**: Tenant Actor

Revokes an app token by tokenId. Supports `User JWT` and `B2B Server JWT`.

## Path parameters

- `appId` string, required
- `tokenId` string, required

## Response `200`

ok

- AppTokenRevokeResponse
  - `ok` boolean, required
  - `appId` string, required
  - `tokenId` string, required
  - `revoked` boolean, required
  - `status` string, nullable

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/ethora/apis/platform-api.md) · [All operations](https://skmtc.dev/ethora/apis/platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ethora/apis/platform-api/revisions/01b6e64378ee?raw)
