A Business Manager can claim apps that belong to a business. This enables you to easily manage apps associated with a business and advertising those apps.
The Business Manager-owned apps don't support role management. If you have to change app roles, you should do that from the app developer dashboard.
This returns a list of apps associated with a Business Manager. To see all the applications your business owns:
curl -G \ -d "access_token=<ACCESS_TOKEN>" \ "https://graph.facebook.com/<API_VERSION>/<BUSINESS_ID>/owned_apps"
To see all applications your business has access to:
curl -G \ -d "access_token=<ACCESS_TOKEN>" \ "https://graph.facebook.com/<API_VERSION>/<BUSINESS_ID>/client_apps"
To see all applications your business has requested access to, but are pending approval:
curl -G \ -d "access_token=<ACCESS_TOKEN>" \ "https://graph.facebook.com/<API_VERSION>/<BUSINESS_ID>/pending_client_apps"
The response contains permitted_tasks
. This is an array of the roles you can assign for that particular ad account.
To remove an app from the Business Manager, make this DELETE
call:
curl \ -X DELETE \ -F "app_id=<APP_ID>" \ -F "access_token=<ACCESS_TOKEN>" \ "https://graph.facebook.com/<API_VERSION>/<BUSINESS_ID>/apps"