---
title: "Revoke connection"
method: DELETE
path: "/connections/{connection_id}/revoke"
tags: ["Connections", "Connections"]
---

# Revoke connection

`DELETE /connections/{connection_id}/revoke`

Revokes Hyperspell's access the given provider and deletes all stored credentials and indexed data.

## Path parameters

- `connection_id` string, required

## Response `200`

Successful Response

- ConnectionDeletionResponse
  - `success` boolean, required
  - `message` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/hyperspell/apis/hyperspell-api.md) · [All operations](https://skmtc.net/hyperspell/apis/hyperspell-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hyperspell/hyperspell-api/revisions/5721acd588e6/schema)
