Can delete uploaded ISO files

This commit is contained in:
2023-09-06 14:55:41 +02:00
parent 08b59b6f67
commit 8f65196344
6 changed files with 184 additions and 13 deletions

View File

@ -46,4 +46,14 @@ export class IsoFilesApi {
})
).data;
}
/**
* Delete iso file
*/
static async Delete(file: IsoFile): Promise<void> {
await APIClient.exec({
method: "DELETE",
uri: `/iso/${file.filename}`,
});
}
}