Viewing API access rules for sub account
    • PDF

    Viewing API access rules for sub account

    • PDF

    Article summary

    View the API access rules for a sub account.

    API

    • GET /sub-accounts/{subAccountId}/access-rules/api

    Requests

    Path Variables

    ParameterRequiredTypeRestrictionsDescription
    subAccountIdYStringSub Account Id

    Responses

    {
      "useApiAllowSource": "boolean",
      "apiAllowSources": [
        {
          "type": "string",
          "source": "string"
        }
      ]
    }
    
    ParameterTypeDescriptionNote
    useApiAllowSourcebooleanAccess restrictions are available when using API
    apiAllowSourcesarrayAPI accessible list
    apiAllowSources[].typestringType of accessible source (IP, VPC, VPC_SERVER)
    apiAllowSources[].sourcestringAccessible 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 codeError codeError message
    40430Nonexistent account

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.