---
title: "Delink integration mapping"
method: DELETE
path: "/integrations/link"
tags: ["Integrations"]
---

# Delink integration mapping

`DELETE /integrations/link`

Soft-delete (archive) the mapping between a FlexPrice entity and a provider entity.

## Request body

- DelinkIntegrationMappingRequest
  - `entity_id` string, required
  - `entity_type` 'customer' | 'plan' | 'invoice' | 'subscription' | 'payment' | 'credit_note' | 'addon' | 'item' | 'item_price' | 'price' | 'invoice_line_item' | 'subscription_line_item', required
  - `provider_type` string, required

## Response `200`

OK

- SuccessResponse
  - `message` string

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error

## Changes

- **2026-08-20** `562f13cf61dd` — 1 info
  - added the new `subscription_line_item` enum value to the request property `entity_type`
- **2026-07-15** `f8ecf435d25d` — 3 warning, 1 info
  - added the new `not_implemented` enum value to the `code` response property for the response status `400`
  - added the new `not_implemented` enum value to the `code` response property for the response status `404`
  - added the new `not_implemented` enum value to the `code` response property for the response status `500`
  - added the new `invoice_line_item` enum value to the request property `entity_type`
- **2026-07-09** `7d57386313c7` — 2 breaking, 10 info
  - request property `entity_type` was restricted to a list of enum values
  - the `entity_type` request property type/format changed from ``/`` to `string`/``
  - added the new `addon` enum value to the request property `entity_type`
  - added the new `credit_note` enum value to the request property `entity_type`
  - …8 more
- **2026-07-09** `4b1a811c4179` — 11 breaking
  - removed the enum value `addon` of the request property `entity_type`
  - removed the enum value `credit_note` of the request property `entity_type`
  - removed the enum value `customer` of the request property `entity_type`
  - removed the enum value `invoice` of the request property `entity_type`
  - …7 more
- **2026-06-16** `257509e66883` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/flexprice/apis/flexprice-api/changes/integrations/link/delete.md)

---

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