POST /admin/compliance/privacy-policies
Admin:管理隐私政策版本。如版本号已存在则更新,否则创建新版本
合规管理 - 合规策略 `bearerAuth` application/json
Request Body
Schema: dto.UpsertPrivacyPolicyRequest
| Field | Type | Required | Example | Constraints | Description |
content |
string |
Yes |
# 隐私政策
... |
|
政策内容 |
effective_at |
string |
Yes |
2026-04-15T00:00:00Z |
|
生效时间 |
version |
string |
Yes |
2.0 |
|
版本号 |
status |
string |
No |
active |
|
状态 |
summary |
string |
No |
新增数据传输附录 |
|
摘要 |
Referenced Schemas
dto.ErrorResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
400 |
|
|
message |
string |
No |
invalid request |
|
|
gitee_com_linmes_authms_micro-services_compliance-service_internal_handler_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|