Set profile publishing accounts
set_profile_accountsChoose the connected accounts a publishing profile uses by default. replace (the default) sets the exact list; add and remove adjust it. Use profile ids from list_publishing_profiles and connection ids from list_social_accounts. The server validates that every newly assigned account belongs to this brand and is still usable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | For an add request choose add; for a removal choose remove. With add/remove, connection_ids contains ONLY the exact accounts to add/remove. Never replace the whole list or add another account while removing. Replace is only for an explicitly supplied complete destination list. | |
| brand_id | Yes | Brand workspace id from list_brands | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. | |
| profile_id | Yes | ||
| connection_ids | Yes |