feat(console): delete org (#4837)

Co-authored-by: Livio Spring <[email protected]>
This commit is contained in:
Max Peintner
2022-12-22 11:56:13 +00:00
committed by GitHub
co-authored by Livio Spring
parent 0530f19d94
commit 85a0bb0523
9 changed files with 115 additions and 8 deletions
+6
View File
@@ -312,6 +312,7 @@ import {
RemoveOrgMemberResponse,
RemoveOrgMetadataRequest,
RemoveOrgMetadataResponse,
RemoveOrgRequest,
RemovePersonalAccessTokenRequest,
RemovePersonalAccessTokenResponse,
RemoveProjectGrantMemberRequest,
@@ -1469,6 +1470,11 @@ export class ManagementService {
return this.grpcService.mgmt.removeUser(req, null).then((resp) => resp.toObject());
}
public removeOrg(): Promise<RemoveUserResponse.AsObject> {
const req = new RemoveOrgRequest();
return this.grpcService.mgmt.removeOrg(req, null).then((resp) => resp.toObject());
}
public listProjectMembers(
projectId: string,
limit: number,