Editing User Access Rules
- Print
- PDF
Editing User Access Rules
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in Classic and VPC
Edit User AccessRules.
Request
- PUT /users/{userId}/access-rules
Request path
Parameter | Required | Type | Restrictions | Description |
---|---|---|---|---|
userId | Y | String | User ID |
Request body
{
"consoleAccessAllowed": "boolean",
"apiAccessAllowed": "boolean"
}
Parameter | Required | Type | Description | Restrictions |
---|---|---|---|---|
consoleAccessAllowed | Y | Boolean | Whether to allow console access | |
apiAccessAllowed | Y | Boolean | Whether to allow API access |
Response
Response body
{
"id": "String",
"nrn": "String",
"success" : "boolean"
}
Parameter | Type | Description | Restrictions |
---|---|---|---|
id | String | User ID | |
nrn | String | Edited user nrn | |
success | Boolean | Success status | |
message | String | Error message upon failure |
Error
Errors that may occur while using this action are listed below. For error response format, see Error Response.
For more information about common errors, see NAVER Cloud Platform API.
HTTP status code | Error code | Error message |
---|---|---|
400 | 9050 | The user doesn't exist |
400 | 400 | Invalid request |
Was this article helpful?