Viewing API access rules for sub account
- Print
- PDF
Viewing API access rules for sub account
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
View the API access rules for a sub account.
API
- GET /sub-accounts/{subAccountId}/access-rules/api
Requests
Path Variables
Parameter | Required | Type | Restrictions | Description |
---|---|---|---|---|
subAccountId | Y | String | Sub Account Id |
Responses
{
"useApiAllowSource": "boolean",
"apiAllowSources": [
{
"type": "string",
"source": "string"
}
]
}
Parameter | Type | Description | Note |
---|---|---|---|
useApiAllowSource | boolean | Access restrictions are available when using API | |
apiAllowSources | array | API accessible list | |
apiAllowSources[].type | string | Type of accessible source (IP, VPC, VPC_SERVER) | |
apiAllowSources[].source | string | Accessible source information (IP, InstanceNo) |
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?