Set which Brands use a connection
connections_brands_setReplace the Brands allowed to use one connection (a publishing-account destination or a source integration). Brands a destination still depends on are retained and reported.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"connectionKind": "<connectionKind>",
"connectionId": "<connectionId>",
"brandIds": "<brandIds>"
},
"name": "connections_brands_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brandIds | Yes | The Brands that may use this connection; the full set, replacing the current one. | |
| workspace | No | Workspace slug. Omit to use the workspace your credential is bound to. An API key names its own workspace, and a value that disagrees with it is refused rather than ignored. | |
| connectionId | Yes | The destination id (GET /v1/publish/destinations) or the integration connection id. | |
| connectionKind | Yes | `publishing-account` for a destination, `integration` for a source integration. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||