policies_dummy_update
PUT/policies/dummy/:policy_uuid/
Dummy Viewset
Request
Path Parameters
A UUID string identifying this Dummy Policy.
- application/json
Body
required
Possible values: non-empty
When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged.
Possible values: >= -2147483648
and <= 2147483647
Possible values: >= -2147483648
and <= 2147483647
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged.
Get object component so that we know how to edit the object
Return object's verbose_name
Return object's plural verbose_name
Return internal model name
Return objects policy is bound to
Possible values: >= -2147483648
and <= 2147483647
Possible values: >= -2147483648
and <= 2147483647
{
"pk": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"execution_logging": true,
"component": "string",
"verbose_name": "string",
"verbose_name_plural": "string",
"meta_model_name": "string",
"bound_to": 0,
"result": true,
"wait_min": 0,
"wait_max": 0
}
- application/json
- Schema
- Example (from schema)
Schema
Validation Error
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "string",
"code": "string"
}