mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 21:07:31 +00:00
fix: handle default org id (#3769)
This commit is contained in:
@@ -272,6 +272,30 @@ Checks whether an organisation exists by the given parameters
|
||||
GET: /orgs/_is_unique
|
||||
|
||||
|
||||
### SetDefaultOrg
|
||||
|
||||
> **rpc** SetDefaultOrg([SetDefaultOrgRequest](#setdefaultorgrequest))
|
||||
[SetDefaultOrgResponse](#setdefaultorgresponse)
|
||||
|
||||
Set the default org
|
||||
|
||||
|
||||
|
||||
PUT: /orgs/default/{org_id}
|
||||
|
||||
|
||||
### GetDefaultOrg
|
||||
|
||||
> **rpc** GetDefaultOrg([GetDefaultOrgRequest](#getdefaultorgrequest))
|
||||
[GetDefaultOrgResponse](#getdefaultorgresponse)
|
||||
|
||||
Set the default org
|
||||
|
||||
|
||||
|
||||
GET: /orgs/default
|
||||
|
||||
|
||||
### ListOrgs
|
||||
|
||||
> **rpc** ListOrgs([ListOrgsRequest](#listorgsrequest))
|
||||
@@ -1964,6 +1988,23 @@ This is an empty request
|
||||
|
||||
|
||||
|
||||
### GetDefaultOrgRequest
|
||||
This is an empty request
|
||||
|
||||
|
||||
|
||||
|
||||
### GetDefaultOrgResponse
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| org | zitadel.org.v1.Org | - | |
|
||||
|
||||
|
||||
|
||||
|
||||
### GetDefaultPasswordResetMessageTextRequest
|
||||
|
||||
|
||||
@@ -3256,6 +3297,28 @@ This is an empty request
|
||||
|
||||
|
||||
|
||||
### SetDefaultOrgRequest
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| org_id | string | - | string.min_len: 1<br /> string.max_len: 200<br /> |
|
||||
|
||||
|
||||
|
||||
|
||||
### SetDefaultOrgResponse
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| details | zitadel.v1.ObjectDetails | - | |
|
||||
|
||||
|
||||
|
||||
|
||||
### SetDefaultPasswordResetMessageTextRequest
|
||||
|
||||
|
||||
|
@@ -4701,8 +4701,9 @@ This is an empty request
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| global_org_id | string | - | |
|
||||
| global_org_id | string | deprecated: use default_org_id instead | |
|
||||
| iam_project_id | string | - | |
|
||||
| default_org_id | string | - | |
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user