1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

org delete apis

This commit is contained in:
Kyle Spearrin
2018-07-16 12:41:54 -04:00
parent 3649e2fffe
commit b2c700ad28
2 changed files with 3 additions and 3 deletions

View File

@@ -651,8 +651,8 @@ export class ApiService implements ApiServiceAbstraction {
return new OrganizationResponse(r);
}
deleteOrganization(id: string): Promise<any> {
return this.send('DELETE', '/organizations/' + id, null, true, false);
postDeleteOrganization(id: string, request: PasswordVerificationRequest): Promise<any> {
return this.send('POST', '/organizations/' + id + '/delete', request, true, false);
}
// Event APIs