---
title: "v2_delete_brands_brand_id_evidence_kind_key | Python SDK | AEO API"
description: "Remove saved evidence. To revoke a keyword dataset, supply its UUID and source revision."
url: "https://aeoapi.dev/docs/sdks/python/v2-delete-brands-brand-id-evidence-kind-key"
canonical: "https://aeoapi.dev/docs/sdks/python/v2-delete-brands-brand-id-evidence-kind-key"
last_updated: "2026-11-30"
---

# v2_delete_brands_brand_id_evidence_kind_key

Remove saved evidence. To revoke a keyword dataset, supply its UUID and source revision.

See the REST reference for [`DELETE /v2/brands/{brand_id}/evidence/{kind}/{key}`](https://aeoapi.dev/docs/api-reference#delete-v2-brands-brand_id-evidence-kind-key).

## Signature

```
v2_delete_brands_brand_id_evidence_kind_key(
    brand_id: str,
    key: str,
    kind: str,
    *,
    expected_revision: str | None = None,
    source_revision: int | None = None,
) -> Response[Any]
```

## Parameters

**`brand_id`**

Identifier for the brand.

**`key`**

Evidence identifier. For a keyword dataset, pass its UUID.

**`kind`**

Selects the kind of record. The accepted values depend on the operation.

**`expected_revision`**

Revision to check before removing the evidence record.

**`source_revision`**

Source dataset revision. For revocation, provide the revision you intend to remove.

## Return value

For a keyword dataset, response.data identifies the dataset, its revision and its resulting state.

## Errors

- AeoApiError includes the HTTP status, error code and request ID. An invalid key raises UnauthenticatedError. Check the key’s scopes if you receive ForbiddenError.
- Invalid arguments can raise ValueError or TypeError before the SDK sends a request.
- AeoTransportError means the request could not reach the API after any allowed retries, or the response could not be read as JSON.

## Python example

```
import os
from aeo_sdk import AeoClient

with AeoClient(os.environ["AEO_API_KEY"], base_url=os.environ["AEO_API_BASE_URL"]) as client:
    response = client.v2_delete_brands_brand_id_evidence_kind_key(
        brand_id='00000000-0000-4000-8000-000000000001',
        key='00000000-0000-4000-8000-000000000002',
        kind='keyword_dataset',
        source_revision=1,
    )
    print(response.body)
```

## Async example

```
import asyncio
import os
from aeo_sdk import AsyncAeoClient

async def main():
    async with AsyncAeoClient(os.environ["AEO_API_KEY"], base_url=os.environ["AEO_API_BASE_URL"]) as client:
        response = await client.v2_delete_brands_brand_id_evidence_kind_key(
            brand_id='00000000-0000-4000-8000-000000000001',
            key='00000000-0000-4000-8000-000000000002',
            kind='keyword_dataset',
            source_revision=1,
        )
        print(response.body)

asyncio.run(main())
```

## Requests by feature

### Brand evidence

- [Revoke imported passages](https://aeoapi.dev/docs/features/brand-evidence/delete-brands-brand-id-evidence-kind-key-passage-document)
- [Revoke an asset](https://aeoapi.dev/docs/features/brand-evidence/delete-brands-brand-id-evidence-kind-key-asset-document)
- [Remove citation reviews](https://aeoapi.dev/docs/features/brand-evidence/delete-brands-brand-id-evidence-kind-key-citation-review)
- [Revoke a keyword dataset](https://aeoapi.dev/docs/features/brand-evidence/delete-brands-brand-id-evidence-kind-key-keyword-dataset)
- [Remove a target URL](https://aeoapi.dev/docs/features/brand-evidence/delete-brands-brand-id-evidence-kind-key-impact-target)
- [Remove review material](https://aeoapi.dev/docs/features/brand-evidence/delete-brands-brand-id-evidence-kind-key-prepublish-snapshot)

See [Python client setup](https://aeoapi.dev/docs/sdks/python) for the environment variables, response properties and retry settings.
