mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-25 16:59:17 +01:00
org delete apis
This commit is contained in:
parent
3649e2fffe
commit
b2c700ad28
@ -198,7 +198,7 @@ export abstract class ApiService {
|
||||
putOrganization: (id: string, request: OrganizationUpdateRequest) => Promise<OrganizationResponse>;
|
||||
postLeaveOrganization: (id: string) => Promise<any>;
|
||||
postOrganizationLicense: (data: FormData) => Promise<OrganizationResponse>;
|
||||
deleteOrganization: (id: string) => Promise<any>;
|
||||
postDeleteOrganization: (id: string, request: PasswordVerificationRequest) => Promise<any>;
|
||||
|
||||
getEvents: (start: string, end: string, token: string) => Promise<ListResponse<EventResponse>>;
|
||||
getEventsCipher: (id: string, start: string, end: string, token: string) => Promise<ListResponse<EventResponse>>;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user