integrations

Choose which Meta ad accounts Patricia may use

Sets the whole enabled set for a Meta Ads connection. Every discovered active ad account is switched on at connect, so this is how a person switches one off: an agency connection can reach a former client's account, and taking it out of range should not mean disconnecting the integration. An id this connection never discovered, or one Meta reports as anything but active, is refused rather than stored. An empty list is refused. Tenant- AND owner-scoped: a foreign, unknown, non-Meta or not-visible account id 404s.

patch/v1/integrations/accounts/{account_id}/meta-ads/enabled-ad-accounts

Request

  • Base URL: https://api.patricia.app (the document declares no server; this is the origin it was published from)
  • URL: https://api.patricia.app/v1/integrations/accounts/{account_id}/meta-ads/enabled-ad-accounts
  • Auth: HTTP bearer

Path parameters

account_idstring uuid required

Headers

X-Tenant-Idstring nullable

Request body

enabled_ad_account_idsstring[]

Response

Successful Response

selected_ad_account_idstring nullable
enabled_ad_account_idsstring[]

Changes

No recorded changes to this operation across all 1 revision of this API.