discourse/spec/requests/api/schemas/json/user_suspend_request.json
Blake Erickson 0b2b4bc245
DEV: Document the user suspend api endpoint (#12179)
Wrote an api docs rspec test for documenting the user suspend api
endpoint.
2021-02-23 05:58:22 -07:00

26 lines
443 B
JSON

{
"additionalProperties": false,
"properties": {
"suspend_until": {
"type": "string",
"example": "2121-02-22"
},
"reason": {
"type": "string"
},
"message": {
"type": "string",
"description": "Will send an email with this message when present"
},
"post_action": {
"type": "string",
"example": "delete"
}
},
"required": [
"suspend_until",
"reason"
]
}