---
title: "Revoke a connected app"
url: https://docs.truemarkets.co/api/auth/revoke-o-auth-consent
description: "Withdraws the grant and revokes the refresh tokens minted from it, so"
---

Docs index: https://docs.truemarkets.co/llms.txt

# Revoke a connected app

```
DELETE https://api.truemarkets.co/v1/auth/oauth/consents/{client_id}
```

Withdraws the grant and revokes the refresh tokens minted from it, so
the client cannot mint a fresh access token once its current one
lapses. An access token already issued stays valid until it expires.

## Authentication

Bearer token in `Authorization`

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `client_id` | path | string | yes |  |

## Responses

Every error status returns the same body, described in [Errors](https://docs.truemarkets.co/developer-resources/errors.md).

### 204

Grant revoked

### 401

Not authenticated

### 404

The user has no live grant for this client.
