Autional Autional
API Reference GitHub autional.com →

POST /admin/abac-policies

Create a new ABAC condition policy

Role Permissions `bearerAuth` application/json

Request Body

Schema: dto.CreateABACPolicyRequest

FieldTypeRequiredExampleConstraintsDescription
condition string Yes
name string Yes
description string No
effect string No
priority integer No

Responses

StatusDescriptionSchema
201Created 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