Skip to content

Commit 126c8b4

Browse files
committed
fix(proto): add TenantServiceLeaveTenantRequest
in order to be able to leave a tenant without the need of being removed by an admin
1 parent a2aa22f commit 126c8b4

File tree

11 files changed

+425
-93
lines changed

11 files changed

+425
-93
lines changed

doc/index.html

Lines changed: 48 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,6 +1408,14 @@ <h2>Table of Contents</h2>
14081408
<a href="#metalstack.api.v2.TenantServiceInvitesListResponse"><span class="badge">M</span>TenantServiceInvitesListResponse</a>
14091409
</li>
14101410

1411+
<li>
1412+
<a href="#metalstack.api.v2.TenantServiceLeaveTenantRequest"><span class="badge">M</span>TenantServiceLeaveTenantRequest</a>
1413+
</li>
1414+
1415+
<li>
1416+
<a href="#metalstack.api.v2.TenantServiceLeaveTenantResponse"><span class="badge">M</span>TenantServiceLeaveTenantResponse</a>
1417+
</li>
1418+
14111419
<li>
14121420
<a href="#metalstack.api.v2.TenantServiceListRequest"><span class="badge">M</span>TenantServiceListRequest</a>
14131421
</li>
@@ -11858,6 +11866,37 @@ <h3 id="metalstack.api.v2.TenantServiceInvitesListResponse">TenantServiceInvites
1185811866

1185911867

1186011868

11869+
<h3 id="metalstack.api.v2.TenantServiceLeaveTenantRequest">TenantServiceLeaveTenantRequest</h3>
11870+
<p>TenantServiceLeaveTenantRequest is used to leave a tenant</p>
11871+
11872+
11873+
<table class="field-table">
11874+
<thead>
11875+
<tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
11876+
</thead>
11877+
<tbody>
11878+
11879+
<tr>
11880+
<td>login</td>
11881+
<td><a href="#string">string</a></td>
11882+
<td></td>
11883+
<td><p>Login of the tenant </p></td>
11884+
</tr>
11885+
11886+
</tbody>
11887+
</table>
11888+
11889+
11890+
11891+
11892+
11893+
<h3 id="metalstack.api.v2.TenantServiceLeaveTenantResponse">TenantServiceLeaveTenantResponse</h3>
11894+
<p>TenantServiceLeaveTenantResponse is the response payload to a leave tenant request</p>
11895+
11896+
11897+
11898+
11899+
1186111900
<h3 id="metalstack.api.v2.TenantServiceListRequest">TenantServiceListRequest</h3>
1186211901
<p>TenantServiceListRequest is the request payload of the tenant list request</p>
1186311902

@@ -12159,6 +12198,13 @@ <h3 id="metalstack.api.v2.TenantService">TenantService</h3>
1215912198
<td><p>Delete a tenant</p></td>
1216012199
</tr>
1216112200

12201+
<tr>
12202+
<td>LeaveTenant</td>
12203+
<td><a href="#metalstack.api.v2.TenantServiceLeaveTenantRequest">TenantServiceLeaveTenantRequest</a></td>
12204+
<td><a href="#metalstack.api.v2.TenantServiceLeaveTenantResponse">TenantServiceLeaveTenantResponse</a></td>
12205+
<td><p>LeaveTenant remove a member of a tenant</p></td>
12206+
</tr>
12207+
1216212208
<tr>
1216312209
<td>RemoveMember</td>
1216412210
<td><a href="#metalstack.api.v2.TenantServiceRemoveMemberRequest">TenantServiceRemoveMemberRequest</a></td>
@@ -14364,7 +14410,7 @@ <h3 id="metalstack.api.v2.ProjectServiceInvitesListResponse">ProjectServiceInvit
1436414410

1436514411

1436614412
<h3 id="metalstack.api.v2.ProjectServiceLeaveProjectRequest">ProjectServiceLeaveProjectRequest</h3>
14367-
<p>ProjectServiceRemoveMemberRequest is used to remove a member from a project</p>
14413+
<p>ProjectServiceLeaveProjectRequest is used to leave a project</p>
1436814414

1436914415

1437014416
<table class="field-table">
@@ -14388,7 +14434,7 @@ <h3 id="metalstack.api.v2.ProjectServiceLeaveProjectRequest">ProjectServiceLeave
1438814434

1438914435

1439014436
<h3 id="metalstack.api.v2.ProjectServiceLeaveProjectResponse">ProjectServiceLeaveProjectResponse</h3>
14391-
<p>ProjectServiceRemoveMemberResponse is the response payload to a remove member request</p>
14437+
<p>ProjectServiceLeaveProjectResponse is the response payload to a leave project request</p>
1439214438

1439314439

1439414440

go/metalstack/api/v2/apiv2connect/tenant.connect.go

Lines changed: 35 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go/metalstack/api/v2/project.pb.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)