---
title: "Delete connection by ID (user scope)"
method: DELETE
path: "/connections/{connectionId}"
---

# Delete connection by ID (user scope)

`DELETE /connections/{connectionId}`

## Request

- Base URL: `https://api.open-finance.ai/v2`
- URL: `https://api.open-finance.ai/v2/connections/{connectionId}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://api.open-finance.ai/oauth/token` scopes: `delete:connections`

## Path parameters

- `connectionId` string, required

## Response `204`

Response

- object

## Other responses

- `400`: userId is not allowed in query for non-admin users
- `401`: Unauthorized access - Invalid access token
- `403`: Forbidden - Access token missing the required permissions to preform this action
- `404`: connection not found
- `423`: This connection is locked and cant be deleted currently. If you have big-query enabled, you can only delete connections that were created at least 90 minutes ago
- `500`: Internal server error

---

[API](https://skmtc.dev/open-finance/apis/data.md) - [All operations](https://skmtc.dev/open-finance/apis/data/llms.txt) - [OpenAPI document](https://skmtc.dev/open-finance/apis/data/revisions/c18eafb2a770?raw)
