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

# Revoke Connection

`DELETE /oauth/connections/{client_id}`

Revoke a connection. Without ``device_name``, every grant for the
client goes; with it, only that device's grant (the connected-apps list
shows one row per device for CLI/editor sign-ins).

## Path parameters

- `client_id` string, required

## Query parameters

- `device_name` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/repowise/apis/repowise-hosted-api.md) · [All operations](https://skmtc.dev/repowise/apis/repowise-hosted-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/repowise/repowise-hosted-api/revisions/1e57283a9737/schema)
