Skip to main content

policies_expression_partial_update

PATCH 

/policies/expression/:policy_uuid/

Source Viewset

Request

Path Parameters

    policy_uuid uuidrequired

    A UUID string identifying this Expression Policy.

Body

    name string

    Possible values: non-empty

    execution_logging boolean

    When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged.

    expression string

    Possible values: non-empty

Responses

Schema

    pk uuidrequired
    name stringrequired
    execution_logging boolean

    When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged.

    component stringrequired

    Get object component so that we know how to edit the object

    verbose_name stringrequired

    Return object's verbose_name

    verbose_name_plural stringrequired

    Return object's plural verbose_name

    meta_model_name stringrequired

    Return internal model name

    bound_to integerrequired

    Return objects policy is bound to

    expression stringrequired
Loading...