Adding IP ACL to assignment
- Print
- PDF
Adding IP ACL to assignment
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in Classic and VPC
Add IP ACL to an assignment.
Requests
- POST /assignments/{assignmentId}/ip-acls
Request path
Parameter | Required | Type | Description | Restrictions |
---|---|---|---|---|
assignmentId | Y | String | Assignment ID |
Request bodies
{
"consoleAccessAllowed": "Boolean",
"consoleAccessRestricted": "Boolean",
"consoleAccessIpAclIds": ["String", "String"],
"apiAccessAllowed": "Boolean",
"apiAccessRestricted": "Boolean",
"apiAccessIpAclIds": ["String", "String"]
}
Parameter | Required | Type | Description | Restrictions |
---|---|---|---|---|
consoleAccessAllowed | Y | Boolean | Allow or deny console access | |
consoleAccessRestricted | N | Boolean | Restrict console access | |
consoleAccessIpAclIds | N | Array | List of IP ACL IDs forbidden to access the console | |
apiAccessAllowed | Y | Boolean | Allow or deny API access | |
apiAccessRestricted | N | Boolean | Restrict API access | |
apiAccessIpAclIds | N | Array | List of IP ACL IDs forbidden to access the API |
Responses
Response bodies
{
"id": "String",
"success" : "Boolean",
"nrn": "String",
"message": "String"
}
Parameter | Type | Description |
---|---|---|
id | String | Assignment ID |
nrn | String | nrn of the edited assignment |
success | Boolean | Success status |
message | String | Error message when failed |
Errors
Errors that may occur while using this action are listed below. For the error response format, see ErrorResponse.
For more information about common errors, see NAVER Cloud Platform API.
HTTP status code | Error code | Error message |
---|---|---|
400 | 400 | Invalid request |
400 | 9100 | IP ACL does not exist |
400 | 9102 | Assignment - IP ACL mapping already exists |
400 | 9104 | Assignment - IP ACL mapping does not exist |
400 | 9080 | Assignment does not exist |
Was this article helpful?