---
title: "Disconnect OAuth connection"
method: POST
path: "/v1/agents/{agent_id}/oauth/disconnect/{binding_id}"
tags: ["OAuth Connect"]
---

# Disconnect OAuth connection

`POST /v1/agents/{agent_id}/oauth/disconnect/{binding_id}`

## Request

- Base URL: `https://api.1claw.co`
- URL: `https://api.1claw.co/v1/agents/{agent_id}/oauth/disconnect/{binding_id}`
- Auth: HTTP bearer

Disconnect an OAuth connection by revoking tokens and removing the binding.
Human-only.

## Path parameters

- `agent_id` string, uuid, required
- `binding_id` string, uuid, required

## Response `204`

Connection disconnected

## Other responses

- `403`: Insufficient permissions
- `404`: Resource not found

---

[API](https://skmtc.dev/1claw/apis/1claw-api.md) · [All operations](https://skmtc.dev/1claw/apis/1claw-api/llms.txt) · [OpenAPI document](https://skmtc.dev/1claw/apis/1claw-api/revisions/5fa0918f3b41?raw)
