admin

update user

update user

put/answer/admin/api/user/status

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /answer/admin/api/user/status
  • Auth
    API key in header Authorization

Request body

remove_all_contentboolean
status'normal' | 'suspended' | 'deleted' | 'inactive' required
suspend_duration'24h' | '48h' | '72h' | '7d' | '14d' | '1m' | '2m' | '3m' | '6m' | '1y' | 'forever'
user_idstring required

Response

OK

codeinteger

http code

dataunknown
msgstring

response message

reasonstring

reason key

Changes

No recorded changes to this operation across all 50 revisions of this API.