mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
purge org vault apis
This commit is contained in:
@@ -380,8 +380,12 @@ export class ApiService implements ApiServiceAbstraction {
|
||||
return this.send('PUT', '/ciphers/' + id + '/collections-admin', request, true, false);
|
||||
}
|
||||
|
||||
postPurgeCiphers(request: PasswordVerificationRequest): Promise<any> {
|
||||
return this.send('POST', '/ciphers/purge', request, true, false);
|
||||
postPurgeCiphers(request: PasswordVerificationRequest, organizationId: string = null): Promise<any> {
|
||||
let path = '/ciphers/purge';
|
||||
if (organizationId != null) {
|
||||
path += '?organizationId=' + organizationId;
|
||||
}
|
||||
return this.send('POST', path, request, true, false);
|
||||
}
|
||||
|
||||
postImportCiphers(request: ImportCiphersRequest): Promise<any> {
|
||||
|
||||
Reference in New Issue
Block a user