Remove one of the project's Instagram accounts. Its conversations and its customers' contacts are deleted, the agent stops replying on it, and member access to it is removed. Choose the account with inbox_id. The response is a boolean indicating whether the removal succeeded.
curl --request DELETE \
--url 'https://api.nabrah.ai/api/ext/omni_v2/instagram/inboxes' \
--header 'X-API-Key: <your-api-key>'falseRemoving an account deletes its conversations and its customers' contacts. Connect it again from the platform to start over.
AgentsAn agent that answered on the deleted account stays configured and keeps answering on its other accounts.
Use GET /api/ext/omni_v2/instagram/inboxes to confirm which inbox(es) exist before deleting.
A project can connect more than one Instagram account. inbox_id selects the account this call works on.
inbox_id is optional; the project's only Instagram account is used.
inbox_id is required and the call returns 400 without it. An id that is not one of the project's Instagram accounts returns 404.
inbox_idList the accounts and their ids with GET /api/ext/omni_v2/instagram/inboxes.
X-API-KeystringheaderrequiredYour workspace API key. Create one in the dashboard under API keys.
inbox_idstringThe id of the Instagram account to use, from GET /api/ext/omni_v2/instagram/inboxes.
Use inboxes[].id (a UUID), not the numeric inboxes[].inbox_id. Optional while the project has one Instagram account; required once it has more than one.
Successful Response
application/json
Validation Error
application/json