> ## Documentation Index
> Fetch the complete documentation index at: https://www.ayrshare.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Revoke Boost Delegation

> Revoke one boost delegation for an owner, payer and platform. New boosts stop, but ads that are already running keep running.

Revoke one boost delegation: one owner, payer and platform. The owner's delegations on other platforms are not changed. Send the request with your Primary Profile's API key and without a `Profile-Key`.

Revoking stops new boosts only. Ads already running keep running until their end date, and the payer can still pause them. Revoking an already revoked delegation succeeds and changes nothing.

A delegation also ends on its own:

* When the owner or the payer profile is deleted (`revokedReason` is `ownerDeleted` or `payerDeleted`).
* When the owner unlinks a network. The owner's delegations on that network are revoked (`revokedReason` is `ownerUnlinked`). Delegations on other networks are not changed.
* When the network refuses the owner's permission. The delegation stays active, but its `permission` becomes `refused` and boosts on it are refused. Once the owner relinks, create the delegation again.

The owner can also withdraw permission directly on the network at any time.

## Header Parameters

**Authorization** `string` *required*

[API Key](https://www.ayrshare.com/docs/apis/overview.md#authorization) of the Primary Profile.

Format: `Authorization: Bearer API_KEY`

## Path Parameters

**id** `string` *required*

The delegation `id` returned when it was created or listed.

```bash cURL theme={"system"}
curl \
-H "Authorization: Bearer API_KEY" \
-X DELETE https://api.ayrshare.com/api/ads/delegations/Kx3v9QpL2mZ7tR1wYb4N
```

```json 200 theme={"system"}
{
  "status": "success",
  "delegation": {
    "id": "Kx3v9QpL2mZ7tR1wYb4N",
    "owner": { "refId": "140b8709bd6ade099b242d895e268fb886130c53", "title": "Agent One" },
    "payer": { "refId": "9f1c3e7a2b4d", "title": "Agency" },
    "platform": "instagram",
    "permission": "unknown",
    "status": "revoked",
    "revokedReason": "api"
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.