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.

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.

Options: meta_capi, google_ads, google_analytics, openai_ads, convert_experiments
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.

Allowed values:meta_capigoogle_adsgoogle_analyticsopenai_adsconvert_experiments

Query Parameters

credential_namestring

Restrict the delete to a single named credential.

Responses

successboolean