Skip to main content
Version: v0.4.1

Add rule

POST 

/api/management/policy/rule

Add new contraint template

Request

Body

required

    idnumber
    actionstring[]required
    assigneestring[]

    constraints

    object[]

    required

  • Array [

  • idnumber
    typeConstraintType (string)required

    Possible values: [ATOMIC, LOGICAL]

    titlestringrequired
    descriptionstring
  • ]

  • dutiesundefined[]required
    typeRuleType (string)

    Possible values: [PERMISSION, PROHIBITION, DUTY]

    targetstring

Responses

Schema

    idnumber
    actionstring[]required
    assigneestring[]

    constraints

    object[]

    required

  • Array [

  • idnumber
    typeConstraintType (string)required

    Possible values: [ATOMIC, LOGICAL]

    titlestringrequired
    descriptionstring
  • ]

  • dutiesundefined[]required
    typeRuleType (string)

    Possible values: [PERMISSION, PROHIBITION, DUTY]

    targetstring