---
title: "Revoke an agent connection in the session workspace"
method: DELETE
path: "/v1/agent-connections/{id}"
tags: ["agent connections"]
---

# Revoke an agent connection in the session workspace

`DELETE /v1/agent-connections/{id}`

## Request

- Base URL: `https://api.hyperresearch.ai`
- URL: `https://api.hyperresearch.ai/v1/agent-connections/{id}`
- Auth: API key in cookie `hr_session`

Revoke an agent connection: its access and refresh tokens stop working immediately. Console session with `X-CSRF-Token`.

## Path parameters

- `id` string, required

## Response `200`

Revoked

- object
  - `ok` true, required
  - `id` string, required
  - `status` 'revoked', required

## Other responses

- `400`: Invalid request
- `401`: Authentication failed
- `403`: Insufficient scope or plan
- `404`: Not found
- `429`: Rate limited or over quota
- `500`: Internal error

---

[API](https://skmtc.dev/hyperresearch/apis/hyperresearch-cloud-api.md) · [All operations](https://skmtc.dev/hyperresearch/apis/hyperresearch-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hyperresearch/apis/hyperresearch-cloud-api/revisions/726ef831ebf4?raw)
