mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
get org license apis
This commit is contained in:
@@ -639,6 +639,11 @@ export class ApiService implements ApiServiceAbstraction {
|
||||
return new OrganizationBillingResponse(r);
|
||||
}
|
||||
|
||||
async getOrganizationLicense(id: string, installationId: string): Promise<any> {
|
||||
return this.send('GET', '/organizations/' + id + '/license?installationId=' + installationId,
|
||||
null, true, true);
|
||||
}
|
||||
|
||||
async postOrganization(request: OrganizationCreateRequest): Promise<OrganizationResponse> {
|
||||
const r = await this.send('POST', '/organizations', request, true, true);
|
||||
return new OrganizationResponse(r);
|
||||
|
||||
Reference in New Issue
Block a user