delete_media
Permanently remove a media file from the Strapi library using its ID. This action deletes the file and breaks references in content entries.
Instructions
Permanently delete a file from the Strapi media library by its ID. This removes the file from storage and breaks any references to it in content entries. Use list_media first to find the correct file ID before deleting. This action cannot be undone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | Numeric ID of the media file to permanently delete from the library |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |