Autional Autional
API Reference GitHub autional.com →

PUT /admin/abac-policies/{id}

Update the configuration of a specified ABAC policy

Role Permissions `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes Policy ID

Request Body

Schema: dto.UpdateABACPolicyRequest

FieldTypeRequiredExampleConstraintsDescription
condition string No
description string No
effect string No
enabled boolean No
name string No
priority integer No

Responses

StatusDescriptionSchema
200Updated successfullygitee_com_linmes_authms_base_dto.DataResponse-dto_ABACPolicyResponse

Referenced Schemas

dto.ABACPolicyResponse

FieldTypeRequiredExampleConstraintsDescription
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

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.ABACPolicyResponse No
message string No
timestamp string No