---
title: "Remove YouTube channel listeners"
method: POST
path: "/agent/{agent_id}/triggers/remove_youtube_channels"
tags: ["Triggers"]
---

# Remove YouTube channel listeners

`POST /agent/{agent_id}/triggers/remove_youtube_channels`

## Request

- Base URL: `https://api.mosaic.so`
- URL: `https://api.mosaic.so/agent/{agent_id}/triggers/remove_youtube_channels`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Remove YouTube channels from monitoring across all YouTube trigger nodes for the agent. Empty trigger nodes are deleted automatically.

## Path parameters

- `agent_id` string, required

## Request body

- object
  - `youtube_channels` string[], required: Array of YouTube channel IDs or URLs to stop monitoring

## Response `200`

Listeners removed successfully

- object
  - `message` string

## Other responses

- `400`: Invalid request
- `401`: Authentication failed
- `404`: Resource not found

---

[API](https://skmtc.dev/mosaic/apis/mosaic-ai-api.md) - [All operations](https://skmtc.dev/mosaic/apis/mosaic-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mosaic/apis/mosaic-ai-api/revisions/c20e9fc606a4?raw)
