Ad TaggingDelete the config

Delete the config

Removes the config and cancels its queued or running runs. Run history and the meta_ads token stay. Deleting the token instead (DELETE /client/v1/destinations/credentials/meta_ads) removes this config too. Ads already tagged are not changed. Sent writes may still take effect and remain uncertain. The cancelled run retains its account reservation until worker quiescence and release, or lease expiry plus a 30-second grace period. Recreating the config gives it a new generation, invalidating old previews. Works on every plan.

curl -X DELETE "https://mythic-analytics.gulp.workers.dev/client/v1/ad-tagging/meta?location_id=example_string" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "success": true,
  "data": {
    "deleted": true,
    "cancelled_runs": [
      "123e4567-e89b-12d3-a456-426614174000"
    ],
    "credential_retained": true
  }
}
DELETE
/client/v1/ad-tagging/meta
DELETE
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

Agency key (ak_) or location secret key (sk_, reads of the config and runs only). Scoped keys (mcp_) are accepted too and need ad_tagging:read or ad_tagging:write. See Using an mcp_ key over HTTP.

Agency key (ak_) or location secret key (sk_, reads of the config and runs only). Scoped keys (mcp_) are accepted too and need ad_tagging:read or ad_tagging:write. See Using an mcp_ key over HTTP.
query
location_idstring

Location to scope to. Required for ak_ keys or send X-Location-Id. Ignored for sk_.

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Agency key (ak_) or location secret key (sk_, reads of the config and runs only). Scoped keys (mcp_) are accepted too and need ad_tagging:read or ad_tagging:write. See Using an mcp_ key over HTTP.

Query Parameters

location_idstring

Location to scope to. Required for ak_ keys or send X-Location-Id. Ignored for sk_.

Responses

successboolean
dataobject