DELETE /hardware/{id}/files/{file_id}/delete
snipeit_gen_hardware_files_deleteDelete a specific file attached to a Snipe-IT hardware asset by providing the asset ID and file ID.
Instructions
DELETE /hardware/{id}/files/{file_id}/delete: /hardware/:id/files/:file_id. Generated from Snipe-IT OpenAPI operation hardware-files-delete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the asset whose file you want to delete | |
| confirm | No | Required when SNIPEIT_CONFIRM_WRITES=true. Exact string "YES" to apply this write. | |
| file_id | Yes | ID of the specific file for that asset you wish to delete |