Changing user status
- Print
- PDF
Changing user status
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
You can change the status of a user.
Requests
- POST /users/{enable|disable}
Request bodies
{
"userIds": ["String", "String"]
}
Parameters | Requirement status | Type | Description | Restrictions |
---|---|---|---|---|
userIds | N | Array | ID list of users to change the status of |
Responses
Response bodies
[{
"id": "String",
"nrn": "String",
"success" : "boolean",
"message": "String"
}]
Parameters | Type | Description | Restrictions |
---|---|---|---|
[].id | String | User ID | |
[].nrn | String | nrn of the user with the status changed | |
[].success | Boolean | Whether it is a success | |
[].message | String | Failure error message |
Errors
Errors that may occur while using this action are listed below. For error response format, see ErrorResponse.
For more information on common errors, see NAVER Cloud Platform API.
HTTP status code | Error code | Error message |
---|---|---|
400 | 400 | Invalid request. |
400 | 9050 | The user does not exist. |
Was this article helpful?