---
title: "Remove associated campaigns"
method: DELETE
path: "/v1/ads/conversions/destinations/{destinationId}/associations"
tags: ["Conversions"]
---

# Remove associated campaigns

`DELETE /v1/ads/conversions/destinations/{destinationId}/associations`

## Request

- Base URL: `https://zernio.com/api`
- URL: `https://zernio.com/api/v1/ads/conversions/destinations/{destinationId}/associations`
- Auth: HTTP bearer

Unlinks campaigns from a LinkedIn conversion rule so they stop tracking it.

Pass `adAccountId` and `campaignIds` as query parameters (`campaignIds` is comma-separated).

The route also accepts a JSON body with the same fields, for clients that prefer DELETE-with-body. The documented surface is query-only because some SDK code generators (e.g. Python) collapse query + body parameters with the same name into a single kwarg.

## Path parameters

- `destinationId` string, required

## Query parameters

- `accountId` string, required
- `adAccountId` string, required
- `campaignIds` string, required

## Response `200`

Per-campaign batch result. Status is 200 even when some rows
failed. Inspect `failed[]` for details.

- object
  - `platform` 'linkedinads'
  - `succeeded` string[]: Numeric campaign IDs that were successfully removed.
  - `failed` object[]
    - `campaignId` string
    - `reason` string

## Other responses

- `400`: Validation error: missing `adAccountId` or `campaignIds`, campaignIds exceeds 100 entries per request, or `accountId` is not a valid id.
- `401`: Missing or invalid API key. `code` is `missing_credentials` when no Authorization header was sent and `invalid_credentials` when the key is unknown, revoked or expired.
- `403`: Forbidden. One of: - Ads add-on or LinkedIn reconnect required. - Code `ad_account_not_selected`: the connection has selected ad accounts and the ad account this request targets is not among them. `details` carries `accountId`, `adAccountId` and `selectedAdAccountIds`. To fix `ad_account_not_selected`, add the ad account to the selection (GET /v1/connect/{platform}/ads with adAccountIds, which replaces the selection) or use a connection that has it selected.
- `404`: The account or requested resource was not found or is not accessible. An account ID may have been disconnected and removed. Read GET /v1/accounts for current account IDs.
- `405`: Platform does not support associations.
- `409`: The account exists but is inactive or needs reconnection. Reconnect it, then read GET /v1/accounts for its current account ID before retrying. Code: ads_connection_required.
- `429`: LinkedIn rate limit hit. Retry with backoff.

## Changes

- **2026-11-11** `34f8dbff5e0d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/zernio/apis/zernio-api/changes/v1/ads/conversions/destinations/:destinationId/associations/delete.md)

---

[API](https://skmtc.dev/zernio/apis/zernio-api.md) - [All operations](https://skmtc.dev/zernio/apis/zernio-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zernio/apis/zernio-api/revisions/21ba7421089d?raw)
