Disconnecting an Instagram account from an app
An Instagram account leaves an app in one of two ways: the app removes it, or the owner removes the app in Instagram, under Settings, Website permissions, Apps and websites. Meta reports the second to the app's deauthorize callback, and a request to delete the person's data to its data deletion callback, which must answer with a status link and a confirmation code.
easyCoexistence removes an Instagram account in one step from the dashboard or the Partner API and answers Meta's deauthorize and data deletion callbacks on its own: tokens and event forwarding are erased, platforms receive channel.removed, and the account can be connected again whenever you like.
Where Instagram lists connected apps, under Settings and Website permissions, with Remove beside each one.
What a removed app can still reach on the account; data it stored before may remain with it.
What a data deletion callback must return: a status URL and an alphanumeric confirmation code.
Instagram's business login settings take a Deauthorize callback URL and a Data deletion request URL.
How does an owner remove an app in Instagram?
From the account's settings. Instagram's Help Center lists connected apps under Settings, in Website permissions under Your app and media: open Apps and websites, then Active, and select Remove next to the app. From then on the app can reach only the account's public information, though it may keep information it stored while it had access.
What is the deauthorize callback?
A URL the app gives Meta, which Meta pings when someone removes the app without going through the app itself. For Instagram Login it is entered in the business login settings of the App Dashboard, beside the redirect URIs. On that ping the app should stop using the account and erase its token; easyCoexistence's handler first checks the signed request against the app secret.
What must a data deletion callback do?
Meta's documentation sets out five things, and failing them can get the callback removed or the app disabled:
- Listen at an HTTPS URL entered as the data deletion request URL.
- Accept a POST whose
signed_requestcarries the person's app-scopeduser_id. - Check the
signed_request's HMAC-SHA256 signature with the app secret. - Start deleting the data the app received about that person.
- Answer with JSON holding url, where the person can follow the request, and
confirmation_code.
{
"url": "https://www.example.com/deletion?id=abc123",
"confirmation_code": "abc123"
}What does easyCoexistence do when you remove an account?
Remove this channel on the account's page in the dashboard, or DELETE /api/v1/channels/:id from the Partner API, unsubscribes the account from Meta's webhooks and erases its access token, its event forwarding URL and that URL's signing secret. Its scheduled posts are canceled, comment-to-DM rules stop, the connection's charge ends with the current billing cycle, and the account can be connected again whenever you choose.
What happens when the owner removes the app in Instagram?
Meta calls easyCoexistence's deauthorize callback. easyCoexistence checks the signed request against the app secret, marks the person's Instagram accounts as removed, erases their tokens and event forwarding, and takes them out of the connection count. A data deletion request does the same and answers Meta with a link to easyCoexistence's privacy notice and a confirmation code.
What data stays after removal?
The account's ID and name stay on record, so connecting it again restores it, and they are deleted on request under easyCoexistence's privacy notice. Forwarded comment, mention and DM events are passed on as they arrive, with no copy kept; for an account with automations, the DMs and comments they act on are kept for 7 days and then deleted, and an automation's run log keeps the one that started it for 30 days.
How does a platform learn a customer's account was removed?
From its signed status events. The Partner API sends channel.removed when the account is removed from the dashboard, through DELETE /api/v1/channels/:id or from Instagram's settings, and channel.disconnected when its access stops working and the owner needs to sign in again. Each event carries the platform's external_ref when the connect session set one.
How to set it up
- Remove the channel in easyCoexistenceOn the account's page in the dashboard, choose Remove this channel and confirm, or call DELETE /api/v1/channels/:id.
- Remove the app in InstagramIn Settings, open Website permissions, then Apps and websites and Active, and select Remove next to the app.
- Ask for deletionWrite to the contact in easyCoexistence's privacy notice to have the account's remaining record deleted.
Common mistakes
- Removing only the connector in Claude or ChatGPT. That ends the assistant's access, but the account stays connected, and billed, until the channel is removed in easyCoexistence.
- Expecting a removed app to forget what it stored. Instagram's Help Center says it may keep information from when it had access, so ask it to delete that too.
- Answering a data deletion callback with an empty body. Meta expects a status URL and a confirmation code, and may remove the callback or disable the app without them.
- Acting on a callback without checking its signature. Verify the signed_request with the app secret before trusting the user ID inside it.
US$ 9 to US$ 0.75 per connection per month, falling as you add connections, with the first 3 days free.
easyCoexistence is a multichannel API and MCP server that connects AI agents such as Claude and ChatGPT to WhatsApp, Instagram, TikTok, Facebook and more. On WhatsApp it uses Coexistence: the business keeps using its number in the WhatsApp Business app while the AI works through Meta's official API.
Frequently asked questions
Does removing an app in Instagram delete my data?
It stops the app's access to anything but public information. The app may keep what it stored earlier, so ask it to delete that; Meta's data deletion callback is how apps receive such requests.
What does easyCoexistence keep after I remove an account?
The account's ID and name, so it can be reconnected, deleted on request. Its token, its event forwarding URL and that URL's secret are erased at once.
Can I connect the account again later?
Yes. Connect it from the dashboard as before; its earlier record is restored with a new token.
Does removing an account stop its charge?
Yes. The charge for that connection ends with the current billing cycle, and it no longer counts toward your total.
Keep reading
Connect your first channel in two minutes.
No platform reviews to wait for. Connect WhatsApp, Instagram, TikTok or another channel, then ask your AI to post, reply or report, and watch it work.
- 3 days free
- Cancel any time
- Official APIs only
- Monitored 24/7
Verified on