Users
Admin
put/admin/users/{id}/suspend.json

Request

  • Base URL
    https://discourse.example.com
  • Auth
    none declared

Path parameters

idinteger required

Request body

suspend_untilstring required
reasonstring required
messagestring

Will send an email with this message when present

post_actionstring

Example request

{
  "suspend_until": "2121-02-22",
  "post_action": "delete"
}

Response

response

Changes