v1

latestSwagger 2.02026-07-1720021.4 KB

This API is used to update the state of a user.

<table> <tr> <th>Field</th> <th>Possible values</th> <th>Mandatory/Optional</th> </tr> <tr> <td>username</td> <td>test1</td> <td>Mandatory</td> </tr> <tr> <td>is_deactivate</td> <td>true</td> <td>Mandatory</td> </tr> </table>
post/update/state

Request body

object required

Example request

{
  "username": "test1",
  "is_deactivate": true
}

Response

OK

object required