Remove Members from Portfolio
remove_members_from_portfolioRemove Client, Site and/or topic membership from an agency Account Portfolio in one call. Removing a direct Site may leave it included through a member Client; removing a Client may leave independently attached Sites/topics. Absent membership stays absent; removing the last member leaves the Portfolio intact. This never deletes the underlying Client, Site/topic or scan history. Requires portfolioId and 1–100 distinct IDs total across clientIds/siteIds/topicIds; use list_clients/list_sites_and_topics to resolve IDs and get_portfolio before/after changes. Wrong kinds or cross-Account IDs are refused. Requires Account access; launches no Scan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteIds | No | Brand Site IDs from list_sites_and_topics; attaches only these Sites directly. | |
| topicIds | No | Topic IDs from list_sites_and_topics; research topics require explicit attachment. | |
| clientIds | No | Client IDs from list_clients; each member Client includes all its brand Sites. | |
| portfolioId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | Yes | ||
| portfolio | Yes |