Editing API access rules for sub account
- Print
- PDF
Editing API access rules for sub account
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Edit the API access rules of a sub account.
API
- PUT /sub-accounts/{subAccountId}/access-rules/api
Requests
Body
{
"useApiAllowSource": "boolean",
"apiAllowSources": [
{
"type": "string",
"source": "string"
}
]
}
Parameter | Required | Type | Restrictions | Description |
---|---|---|---|---|
useApiAllowSource | Y | boolean | Access restrictions are available when using API | |
apiAllowSources | N | array | API accessible list | |
apiAllowSources[].type | N | string | Type of accessible source (IP, VPC, VPC_SERVER) | |
apiAllowSources[].source | N | string | Accessible source information (IP, InstanceNo) |
Responses
Parameter name | Required | Type | Description |
---|---|---|---|
ProcessResult | Y | ProcessResult | Process result |
- Response examples
{
"useApiAllowSource": "boolean",
"apiAllowSources": [
{
"type": "string",
"source": "string"
}
]
}
Errors
Errors that may occur while using this action are listed below. For error response format, see ErrorResponse.
For more information about common errors, see NAVER Cloud Platform API.
HTTP status code | Error code | Error message |
---|---|---|
404 | 30 | Nonexistent account |
Was this article helpful?