mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 07:57:32 +00:00
feat: org remove on admin api and org query with state (#4917)
* feat: org remove on admin api and org query with state * docs: change description for admin api remove org Co-authored-by: Livio Spring <livio.a@gmail.com>
This commit is contained in:
@@ -430,6 +430,19 @@ and adds the user to the orgs members as ORG_OWNER
|
||||
POST: /orgs/_setup
|
||||
|
||||
|
||||
### RemoveOrg
|
||||
|
||||
> **rpc** RemoveOrg([RemoveOrgRequest](#removeorgrequest))
|
||||
[RemoveOrgResponse](#removeorgresponse)
|
||||
|
||||
Sets the state of the organisation and all its resource (Users, Projects, Grants to and from the org) to removed
|
||||
Users of this organisation will not be able login
|
||||
|
||||
|
||||
|
||||
DELETE: /orgs/{org_id}
|
||||
|
||||
|
||||
### GetIDPByID
|
||||
|
||||
> **rpc** GetIDPByID([GetIDPByIDRequest](#getidpbyidrequest))
|
||||
@@ -3533,6 +3546,28 @@ This is an empty request
|
||||
|
||||
|
||||
|
||||
### RemoveOrgRequest
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| org_id | string | - | string.min_len: 1<br /> string.max_len: 200<br /> |
|
||||
|
||||
|
||||
|
||||
|
||||
### RemoveOrgResponse
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| details | zitadel.v1.ObjectDetails | - | |
|
||||
|
||||
|
||||
|
||||
|
||||
### RemoveSMSProviderRequest
|
||||
|
||||
|
||||
|
@@ -95,6 +95,18 @@ title: zitadel/org.proto
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) query.name_query | OrgNameQuery | - | |
|
||||
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) query.domain_query | OrgDomainQuery | - | |
|
||||
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) query.state_query | OrgStateQuery | - | |
|
||||
|
||||
|
||||
|
||||
|
||||
### OrgStateQuery
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| state | OrgState | - | enum.defined_only: true<br /> |
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user