Can delete a family

This commit is contained in:
2023-07-12 17:58:03 +02:00
parent f1d6998dd8
commit 8cc720a214
2 changed files with 47 additions and 1 deletions

View File

@ -202,4 +202,14 @@ export class FamilyApi {
},
});
}
/**
* Delete a family
*/
static async DeleteFamily(family: Family) {
await APIClient.exec({
method: "DELETE",
uri: `/family/${family.family_id}`,
});
}
}