Remove YouTube Channels
Remove monitored YouTube channels from an agent trigger.
Subtractively removes only the listed channels, leaving all other monitored channels intact.
Behavior:
- Removes specified channels from all YouTube trigger nodes for the agent (duplicate-safe removal)
- If a trigger node has no channels left after removal, that trigger node is deleted
- Does not affect channels that are not specified
Request
bash
curl -X POST "https://api.mosaic.so/agent/[agent_id]/triggers/remove_youtube_channels" \
-H "Authorization: Bearer mk_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"youtube_channels": ["UCxxxxxxxxxxxxxx"]
}'Parameters
| Field | Type | Required | Description |
|---|---|---|---|
youtube_channels | string[] | Yes | YouTube channel IDs or URLs to stop monitoring. |