---
title: "Revoke an agent: a key stops working, a connected client loses its tokens. Session only."
method: DELETE
path: "/v1/agents/{id}"
tags: ["account"]
---

# Revoke an agent: a key stops working, a connected client loses its tokens. Session only.

`DELETE /v1/agents/{id}`

## Request

- Base URL: `https://api.briq.cloud`
- URL: `https://api.briq.cloud/v1/agents/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Response `200`

ok

- object
  - `ok` boolean, required

## Other responses

- `400`: validation
- `401`: unauthorized
- `403`: forbidden
- `404`: not found

---

[API](https://skmtc.dev/briq/apis/briq-api.md) · [All operations](https://skmtc.dev/briq/apis/briq-api/llms.txt) · [OpenAPI document](https://skmtc.dev/briq/apis/briq-api/revisions/609b424459cb?raw)
