POST /auth/me/role-activations
用户提交角色激活请求(即时提权JIT),提供角色ID、理由和有效时长
RBAC - 角色 `bearerAuth` application/json
引用的 Schema
service-core/base/dto.DataResponse-service-identity/internal/handler/dto/ActivationResponse
service-core/base/dto.SimpleResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
code |
integer |
否 |
|
|
|
message |
string |
否 |
|
|
|
timestamp |
string |
否 |
|
|
|
service-identity/internal/handler/dto.ActivationResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
activated_at |
string |
否 |
|
|
|
created_at |
string |
否 |
|
|
|
expire_at |
string |
否 |
|
|
|
id |
string |
否 |
|
|
|
justification |
string |
否 |
|
|
|
revoked_at |
string |
否 |
|
|
|
role_id |
string |
否 |
|
|
|
status |
string |
否 |
|
|
|
tenant_id |
string |
否 |
|
|
|
user_id |
string |
否 |
|
|
|