Add an endpoint for deleting a file

This commit is contained in:
Scarzy 2024-05-01 18:46:23 +01:00
parent bbb9145744
commit f6a1a76095

View file

@ -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',