policies
Reputation Policy Viewset
post/policies/reputation/
Request body
namestring required
execution_loggingboolean
When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged.
check_ipboolean
check_usernameboolean
thresholdinteger
Response
pkstring uuid required
namestring required
execution_loggingboolean
When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged.
componentstring required
Get object component so that we know how to edit the object
verbose_namestring required
Return object's verbose_name
verbose_name_pluralstring required
Return object's plural verbose_name
meta_model_namestring required
Return internal model name
bound_tointeger required
Return objects policy is bound to
last_updatedstring date-time required
createdstring date-time required
check_ipboolean
check_usernameboolean
thresholdinteger