---
title: "Revoke Connection"
method: DELETE
path: "/api/oauth/connections/{client_id}"
tags: ["oauth"]
---

# Revoke Connection

`DELETE /api/oauth/connections/{client_id}`

## Request

- Base URL: `https://zsign.io` (the document declares no server; this is the origin it was published from)
- URL: `https://zsign.io/api/oauth/connections/{client_id}`
- Auth: HTTP bearer

Revokes every access/refresh token the caller holds for this client.
Scoped to `user.id`, not anything the client supplies, so this can never
touch another user's grant -- if `client_id` doesn't belong to the
caller, revoke_grants_for_client's filter matches zero rows and this is
a silent no-op, same 204 either way (no oracle for client existence).

## Path parameters

- `client_id` string, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

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