Update repeat offender rules
PUT
/api/settings/repeat-offendersChange the threshold or the kinds of action that count. Both are rules the standings are computed under, so every person's counts are rebuilt from the fact log before this answers.
Needs the ManageSettings permission.
AuthorizationBearer <token>
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://example.com/api/settings/repeat-offenders" \ -H "Content-Type: application/json" \ -d '{ "threshold": 0, "types": null }'{ "threshold": 0, "types": [ { "value": "string", "label": "string", "counts": true } ], "lastRunAt": null}