---
title: "Revoke a connected app's token"
method: POST
path: "/v1/connected-apps/{id}/revoke"
tags: ["Connected Apps"]
---

# Revoke a connected app's token

`POST /v1/connected-apps/{id}/revoke`

## Request

- Base URL: `http://localhost:9998`
- URL: `http://localhost:9998/v1/connected-apps/{id}/revoke`
- Auth: HTTP bearer

Revokes the app's token without deny-listing it. Emits a `connected-apps.changed` event.

## Path parameters

- `id` string, required

## Response `200`

Revoked

- OkResponse
  - `ok` true, required

## Other responses

- `400`: Invalid request
- `404`: Resource not found

---

[API](https://skmtc.dev/modelpiper/apis/toolpiper-api.md) · [All operations](https://skmtc.dev/modelpiper/apis/toolpiper-api/llms.txt) · [OpenAPI document](https://skmtc.dev/modelpiper/apis/toolpiper-api/revisions/6722bf56385c?raw)
