Brand evidence
Remove review material
Removes saved pre-publish review material.
DELETE /v2/brands/{brand_id}/evidence/{kind}/{key}
- Path
kindisprepublish_snapshot.
Authentication and access
- Authentication
- Bearer API key
- Scopes
- analytics:read, audits:read, optimizations:read, brands:write
- Roles
- editor, owner, service
- Plans
- Optimizer
- Credits
- No credit charge.
Parameters
| Name | Where | Type | Required | Description |
|---|---|---|---|---|
brand_id | path | string (uuid) | Yes | |
key | path | string (uuid) | Yes | |
kind | path | "prepublish_snapshot" | Yes |
Request body
Send this request without a body.
Request examples
Set AEO_API_BASE_URL to https://api.aeoapi.dev and AEO_API_KEY to your server-side API key. Set the other environment variables to the values for your request.
curl --fail-with-body -X DELETE "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/evidence/prepublish_snapshot/$KEY" \
-H "Authorization: Bearer $AEO_API_KEY"from os import environ
from aeo_sdk import AeoClient
with AeoClient(environ["AEO_API_KEY"], base_url=environ["AEO_API_BASE_URL"]) as client:
response = client.v2_delete_brands_brand_id_evidence_kind_key(
brand_id=environ["BRAND_ID"],
key=environ["KEY"],
kind="prepublish_snapshot",
)
print(response.body)import { AeoClient } from "@aeoapi/aeo-sdk";
const client = new AeoClient(process.env.AEO_API_KEY!, {
baseUrl: process.env.AEO_API_BASE_URL!,
});
const response = await client.v2DeleteBrandsBrandIdEvidenceKindKey(
process.env.BRAND_ID!,
process.env.KEY!,
"prepublish_snapshot",
);
console.log(response.body);Responses
HTTP 204
Snapshot access revoked.
This response has no body.
Errors
Read code and message in the error response. Keep request_id when you contact support.
- HTTP 400
invalid_request - HTTP 401
unauthenticated - HTTP 403
forbidden - HTTP 404
not_found - HTTP 409
conflict - HTTP 422
validation_error - HTTP 429
rate_limited