mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 05:04:07 -08:00
Add an endpoint for deleting a file
This commit is contained in:
parent
bbb9145744
commit
f6a1a76095
|
@ -565,6 +565,13 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
|
|||
]
|
||||
)->name('api.assets.files');
|
||||
|
||||
Route::delete('{asset_id}/file/{file_id}',
|
||||
[
|
||||
Api\AssetFilesController::class,
|
||||
'destroy'
|
||||
]
|
||||
)->name('api.assets.files');
|
||||
|
||||
});
|
||||
|
||||
Route::resource('hardware',
|
||||
|
|
Loading…
Reference in a new issue