Can delete a single inbox entry

This commit is contained in:
2025-05-12 20:36:42 +02:00
parent 07ee499742
commit 2f807b4c73
4 changed files with 115 additions and 4 deletions

View File

@ -69,4 +69,14 @@ export class InboxApi {
})
).data;
}
/**
* Delete an inbox entry
*/
static async Delete(movement: InboxEntry): Promise<void> {
await APIClient.exec({
uri: `/inbox/${movement.id}`,
method: "DELETE",
});
}
}