---
title: "Deletes a single user connection"
method: DELETE
path: "/users/{userId}/connections/{connectionId}"
tags: ["user connections"]
---

# Deletes a single user connection

`DELETE /users/{userId}/connections/{connectionId}`

## Request

- Base URL: `https://identity.moneyhub.co.uk`
- URL: `https://identity.moneyhub.co.uk/users/{userId}/connections/{connectionId}`
- Auth: API key in header `Authorization`

The deletion of a connection will delete all data associated with it and it will revoke the consent the user granted. Requires **user:delete** scope.

## Path parameters

- `userId` string, required
- `connectionId` string, required

## Response `204`

Successful Response

## Other responses

- `401`: Unsuccessful Response - Not authorised - Missing authorization header - Invalid access Token
- `403`: Unsuccessful Response - Forbidden - Invalid scopes
- `404`: Unsuccessful Response - Resource Not found

## Changes

- **2026-11-03** `e004d9ee1fdb`: 6 warning
  - removed the optional property `id` from the response with the `401` status
  - removed the optional property `id` from the response with the `403` status
  - removed the optional property `id` from the response with the `404` status
  - removed the optional property `userId` from the response with the `401` status
  - …2 more

[Operation history](https://skmtc.dev/moneyhubenterprise/apis/moneyhub-identity-service/changes/users/:userId/connections/:connectionId/delete.md)

---

[API](https://skmtc.dev/moneyhubenterprise/apis/moneyhub-identity-service.md) - [All operations](https://skmtc.dev/moneyhubenterprise/apis/moneyhub-identity-service/llms.txt) - [OpenAPI document](https://skmtc.dev/moneyhubenterprise/apis/moneyhub-identity-service/revisions/e004d9ee1fdb?raw)
