Skip to content

Disconnect an ad account

DELETE /api/marketing/ad-accounts/{id}

Deletes the account from Neike and, with it, the stored token. It does not touch anything in Meta: campaigns remain in Ads Manager. Reconnecting it requires going through OAuth again. Requires the marketing:manage scope.

StatusDescriptionSchema
200——
Terminal window
curl -X DELETE https://api.neike.dev/api/marketing/ad-accounts/{id} \
-H "x-neike-api-key: whk_live_…"