Suspend User
To suspend a user account, use the following request:
POST /users/:id/suspend.xml
POST /users/:id/suspend.json
XML Request Example
curl -i -X POST -u user:userpass http://onapp.test/users/12/suspend.xml -H 'Accept: application/xml' -H 'Content-type: application/xml'
JSON Request Example
curl -i -X POST -u user:userpass http://onapp.test/users/12/suspend.json -H 'Accept: application/json' -H 'Content-type: application/json'