mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
added delete entity user apis
This commit is contained in:
@@ -398,6 +398,12 @@ export class ApiService implements ApiServiceAbstraction {
|
||||
return this.send('DELETE', '/organizations/' + organizationId + '/collections/' + id, null, true, false);
|
||||
}
|
||||
|
||||
deleteCollectionUser(organizationId: string, id: string, organizationUserId: string): Promise<any> {
|
||||
return this.send('DELETE',
|
||||
'/organizations/' + organizationId + '/collections/' + id + '/user/' + organizationUserId,
|
||||
null, true, false);
|
||||
}
|
||||
|
||||
// Groups APIs
|
||||
|
||||
async getGroupDetails(organizationId: string, id: string): Promise<GroupDetailsResponse> {
|
||||
@@ -431,6 +437,11 @@ export class ApiService implements ApiServiceAbstraction {
|
||||
return this.send('DELETE', '/organizations/' + organizationId + '/groups/' + id, null, true, false);
|
||||
}
|
||||
|
||||
deleteGroupUser(organizationId: string, id: string, organizationUserId: string): Promise<any> {
|
||||
return this.send('DELETE',
|
||||
'/organizations/' + organizationId + '/groups/' + id + '/user/' + organizationUserId, null, true, false);
|
||||
}
|
||||
|
||||
// Organization User APIs
|
||||
|
||||
async getOrganizationUsers(organizationId: string): Promise<ListResponse<OrganizationUserUserDetailsResponse>> {
|
||||
|
||||
Reference in New Issue
Block a user