PUT /admin/abac-policies/{id}
Update the configuration of a specified ABAC policy
Role Permissions `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
id |
path |
string |
Yes |
|
|
|
Policy ID |
Request Body
Schema: dto.UpdateABACPolicyRequest
| Field | Type | Required | Example | Constraints | Description |
condition |
string |
No |
|
|
|
description |
string |
No |
|
|
|
effect |
string |
No |
|
|
|
enabled |
boolean |
No |
|
|
|
name |
string |
No |
|
|
|
priority |
integer |
No |
|
|
|
Referenced Schemas
dto.ABACPolicyResponse
| Field | Type | Required | Example | Constraints | Description |
condition |
string |
No |
|
|
|
created_at |
string |
No |
|
|
|
description |
string |
No |
|
|
|
effect |
string |
No |
|
|
|
enabled |
boolean |
No |
|
|
|
id |
string |
No |
|
|
|
name |
string |
No |
|
|
|
priority |
integer |
No |
|
|
|
tenant_id |
string |
No |
|
|
|
updated_at |
string |
No |
|
|
|
gitee_com_linmes_authms_base_dto.DataResponse-dto_ABACPolicyResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.ABACPolicyResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|