archive_pipeline
Archive (or restore) a content pipeline — flips is_active off/on, mirroring the Content Pipeline UI's soft-delete/restore. No data is deleted or cascaded. Use when the user says "archive this pipeline", "pause my newsletter automation", "turn off this pipeline", or "bring back my archived pipeline" (pass restore:true).
[write-tier — first use may require a manager's approval; a from-now-on approval makes future calls seamless, a just-once approval re-asks next time.]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional. Why this pipeline is being archived or restored. | |
| restore | No | Set true to REACTIVATE an archived pipeline instead of archiving it. Default false (archive). | |
| companyId | Yes | FreedomOS company id to act within (you must be a member). Required for company-scoped tools. | |
| pipeline_id | Yes | ID of the pipeline to archive/restore (get from list_pipelines) |