Skip to content

Disconnect the Meta integration

DELETE
/v1/Accounts/{auth_id}/Integrations/Meta
curl --request DELETE \
--url https://api.siprtc.io/v1/Accounts/example/Integrations/Meta \
--header 'Authorization: Basic <credentials>'

Disconnects the whole Facebook (Meta) integration: every connected login and page is removed, each page is unsubscribed from the app’s Messenger webhook (best effort) and its routing on this account deleted. Messenger stops working for the account until it connects again. Not reversible. Authentication: HTTP Basic with the account’s Auth ID and Auth Secret. The operation always applies to the authenticated account; {auth_id} should be its Auth ID (with a parent account’s credentials on a sub-account’s path, the parent’s own integration is used, not the sub-account’s).

auth_id
required
string

Auth ID of the authenticated account

OK

Media type application/json
object
account_id

AccountID is the Auth ID of the account.

string
message

Message is “Meta integration disconnected”.

string
status

Status is “success”.

string

Example

{
"account_id": "AC000000000000000000",
"message": "Meta integration disconnected",
"status": "success"
}

Storage error (reported as 400 with its message)

Media type application/json
object
message

Message says what went wrong.

string
status

Status is always “failed” on an error (some validation errors omit it).

string

Example

{
"message": "error message",
"status": "failed"
}

Missing or invalid credentials; the body is the JSON string Authentication failed

Media type application/json
string

Example generated

example

No Meta integration on this account

Media type application/json
object
message

Message says what went wrong.

string
status

Status is always “failed” on an error (some validation errors omit it).

string

Example

{
"message": "error message",
"status": "failed"
}