Require a reason on every action
PUT
/api/settings/ban-reasons/requiredWhether a kick, an unban and turning a join request down each need a reason, as a ban always does (foundation 5.8.1: optional unless the group asks for it). Approving a join request never takes one.
Needs the EditClassifications 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
curl -X PUT "https://example.com/api/settings/ban-reasons/required" \ -H "Content-Type: application/json" \ -d '{ "required": true }'{ "required": true}