Remove Accounts

You cannot remove ad accounts from your business if you're OWNER and if the accounts are CONFIRMED. If you have a PENDING access request or you have AGENCY access to the ad account, you can make this DELETE call:

DELETE https://us-central1-appgregator.cloudfunctions.net/facebook/adaccounts/remove-accounts/

Query Parameters

Headers

{
    "error": {
        "message": "Unsupported delete request. Object with ID '4047457349376293' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",
        "type": "GraphMethodException",
        "code": 100,
        "error_subcode": 33,
        "fbtrace_id": "ArLO_mgVAjzTdD9JbxIDuxm"
    }
}
curl --location --request DELETE 'https://us-central1-appgregator.cloudfunctions.net/facebook/adaccounts/remove-accounts?name=ft-4&connection_name=fbads-01&business_id=4047457349376293' \
--header 'x-api-key: U2Fsd...'

Last updated