mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 20:57:31 +00:00
feat: get current label and privacy policies (#3748)
This commit is contained in:
@@ -570,6 +570,30 @@ Limit should always be set, there is a default limit set by the service
|
||||
POST: /memberships/me/_search
|
||||
|
||||
|
||||
### GetMyLabelPolicy
|
||||
|
||||
> **rpc** GetMyLabelPolicy([GetMyLabelPolicyRequest](#getmylabelpolicyrequest))
|
||||
[GetMyLabelPolicyResponse](#getmylabelpolicyresponse)
|
||||
|
||||
Returns the label policy of the current organisation
|
||||
|
||||
|
||||
|
||||
GET: /policies/label
|
||||
|
||||
|
||||
### GetMyPrivacyPolicy
|
||||
|
||||
> **rpc** GetMyPrivacyPolicy([GetMyPrivacyPolicyRequest](#getmyprivacypolicyrequest))
|
||||
[GetMyPrivacyPolicyResponse](#getmyprivacypolicyresponse)
|
||||
|
||||
Returns the privacy policy of the current organisation
|
||||
|
||||
|
||||
|
||||
GET: /policies/privacy
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -726,6 +750,23 @@ This is an empty request
|
||||
|
||||
|
||||
|
||||
### GetMyLabelPolicyRequest
|
||||
This is an empty request
|
||||
|
||||
|
||||
|
||||
|
||||
### GetMyLabelPolicyResponse
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| policy | zitadel.policy.v1.LabelPolicy | - | |
|
||||
|
||||
|
||||
|
||||
|
||||
### GetMyMetadataRequest
|
||||
|
||||
|
||||
@@ -783,6 +824,23 @@ This is an empty request
|
||||
|
||||
|
||||
|
||||
### GetMyPrivacyPolicyRequest
|
||||
This is an empty request
|
||||
|
||||
|
||||
|
||||
|
||||
### GetMyPrivacyPolicyResponse
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| policy | zitadel.policy.v1.PrivacyPolicy | - | |
|
||||
|
||||
|
||||
|
||||
|
||||
### GetMyProfileRequest
|
||||
This is an empty request
|
||||
|
||||
|
Reference in New Issue
Block a user