mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
api for leaving organization
This commit is contained in:
@@ -429,6 +429,10 @@ export class ApiService implements ApiServiceAbstraction {
|
||||
return new OrganizationResponse(r);
|
||||
}
|
||||
|
||||
postLeaveOrganization(id: string): Promise<any> {
|
||||
return this.send('POST', '/organizations/' + id + '/leave', null, true, false);
|
||||
}
|
||||
|
||||
async postOrganizationLicense(data: FormData): Promise<OrganizationResponse> {
|
||||
const r = await this.send('POST', '/organizations/license', data, true, true);
|
||||
return new OrganizationResponse(r);
|
||||
|
||||
Reference in New Issue
Block a user