---
title: "Delete connection by ID"
method: DELETE
path: "/connections/{connectionId}"
tags: ["connections"]
---

# Delete connection by ID

`DELETE /connections/{connectionId}`

## Request

- Base URL: `https://api.bokio.se/v1`
- URL: `https://api.bokio.se/v1/connections/{connectionId}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `/authorize`
    - Client credentials
    - Token URL: `/token`

Delete a specific connection and its associated data. Associated data refers to tokens and company permissions that were allowed. However, it will not delete any data created through the integration.

## Path parameters

- `connectionId` string, uuid, required

## Response `204`

Connection deleted successfully

## Other responses

- `403`: Forbidden - not allowed to delete this connection
- `404`: Connection not found

---

[API](https://skmtc.dev/bokio/apis/general-api.md) - [All operations](https://skmtc.dev/bokio/apis/general-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bokio/apis/general-api/revisions/991ed534dd96?raw)
