Update ban reason
PUT
/api/settings/ban-reasons/{id}Reword a reason, change which actions offer it, or switch it on or off. There is no delete: case files cite reasons by id, and one that pointed at a reason nobody can name any more would have lost its classification. Switch it off instead; it stays on the case files that picked it and leaves the buttons.
Needs the EditClassifications permission.
AuthorizationBearer <token>
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Path Parameters
id*string
Format
uuidRequest 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
application/problem+json
curl -X PUT "https://example.com/api/settings/ban-reasons/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{ "label": "string" }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "label": "string", "description": "string", "sortOrder": 0, "isActive": true, "needsWrittenReason": true, "usedFor": [ "string" ]}