Archive image
archive_imageHide an image from active media pickers without deleting its file. Use to declutter retired assets; reversible via restore, while existing slides keep rendering.
Instructions
Archive an image asset to soft-hide it from active media pickers without deleting binary files from storage. Call to declutter media library when an image is retired from active use. For permanent deletion, use delete_image instead. Idempotent state transition, fully reversible via restore_image. Slides and carousels currently referencing this image continue to display and render without disruption. Returns updated Image record with status set to archived.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| imageId | Yes | The unique image asset identifier to archive. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Updated status (archived). | |
| imageId | No | Image asset ID. |