DestinationsDelete a credential

Delete a credential

Delete a credential for the calling location. Requires an agency (ak_) key. Omitting credential_name deletes all credentials of the given type. Deleting a meta_ads token also removes the client's Ad UTM tagging setup that uses it, cancels its queued runs and frees its ad account for another client; the response then carries data.ad_tagging_removed. Run history stays.

curl -X DELETE "https://mythic-analytics.gulp.workers.dev/client/v1/destinations/credentials/meta_capi?credential_name=John%20Doe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "success": true
}
DELETE
/client/v1/destinations/credentials/{type}
DELETE
Base URLstring

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

Bearer Token
Bearer Tokenstring
Required

Client key as bearer token. Use an agency key (Bearer ak_...) for read-write access or a location secret key (Bearer sk_...) for read-only access. Scoped keys (mcp_) are accepted too and need destinations:read or destinations:write. See Using an mcp_ key over HTTP.

Client key as bearer token. Use an agency key (Bearer ak_...) for read-write access or a location secret key (Bearer sk_...) for read-only access. Scoped keys (mcp_) are accepted too and need destinations:read or destinations:write. See Using an mcp_ key over HTTP.
path
typestring
Required

Destination type the credential belongs to. convert_experiments is a special case: delivering to Convert needs no credential at all, but reading Convert's report to verify a delivery does, so its only valid credential_name is reporting. meta_ads is not a destination at all: it is the Meta Marketing API token (system user, ads_read + ads_management) that Ad UTM tagging reads. Nothing delivers events with it.

Options: meta_capi, google_ads, google_analytics, openai_ads, convert_experiments, mida_experiments, meta_ads
query
credential_namestring

Restrict the delete to a single named credential.

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Client key as bearer token. Use an agency key (Bearer ak_...) for read-write access or a location secret key (Bearer sk_...) for read-only access. Scoped keys (mcp_) are accepted too and need destinations:read or destinations:write. See Using an mcp_ key over HTTP.

Path Parameters

typestring
Required

Destination type the credential belongs to. convert_experiments is a special case: delivering to Convert needs no credential at all, but reading Convert's report to verify a delivery does, so its only valid credential_name is reporting. meta_ads is not a destination at all: it is the Meta Marketing API token (system user, ads_read + ads_management) that Ad UTM tagging reads. Nothing delivers events with it.

Allowed values:meta_capigoogle_adsgoogle_analyticsopenai_adsconvert_experimentsmida_experimentsmeta_ads

Query Parameters

credential_namestring

Restrict the delete to a single named credential.

Responses

successboolean