Can delete a family
This commit is contained in:
@ -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}`,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user