# source.remove

Source: https://docs.lightair.app/developers/remote-api/source.remove

> Removes a source, with every object that shows it and its mixer track.

JSON-RPC 2.0 method of Lightair's Remote API (ws://localhost:4455/rpc). Group: Objects and sources. Script plugins need the `project.write` permission.

## Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `source` | `string` | yes | The source's id or name. |

## Errors

Not found (-32004) for an unknown source.

## Events

- `workspace.changed`

## From an AI agent

The MCP server's `source (action: remove)` reaches this method.

## Related

- [object.remove](https://docs.lightair.app/developers/remote-api/object.remove.md)
- [history.undo](https://docs.lightair.app/developers/remote-api/history.undo.md)
