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

# Unshare Audience

> Revokes another ad account's access to an X Ads custom audience

Revokes another ad account's access to an X Ads custom audience.

|                       |                          |
| --------------------- | ------------------------ |
| **App**               | X Ads                    |
| **Operation ID**      | `x_ads_unshare_audience` |
| **Type**              | Action                   |
| **Connection**        | `x_ads` (required)       |
| **Credits per run**   | 1                        |
| **Agent / MCP tool**  | Yes                      |
| **Requires approval** | Yes (write operation)    |

## Inputs

| Field           | Type                 | Required | Default | Description                                                                         |
| --------------- | -------------------- | -------- | ------- | ----------------------------------------------------------------------------------- |
| `account`       | DynamicAccount       | Yes      | -       | Select the X Ads account that owns the audience.                                    |
| `audience_id`   | string or SelectItem | Yes      | -       | Custom audience ID the permission belongs to.                                       |
| `permission_id` | string or SelectItem | Yes      | -       | Audience permission ID to revoke. Find it with x\_ads\_list\_audience\_permissions. |

### SelectItem

| Field   | Type   | Required | Default | Description                                                                                          |
| ------- | ------ | -------- | ------- | ---------------------------------------------------------------------------------------------------- |
| `value` | string | Yes      | -       | The value of the selectable item.                                                                    |
| `label` | string | Yes      | -       | The label of the selectable item, used for display purposes. If not provided, defaults to the value. |

## Output

**Type**: `String`

Returns a confirmation that the permission was revoked.
