Editing API access rules for sub account
    • PDF

    Editing API access rules for sub account

    • PDF

    Article Summary

    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"
            }
        ]
    }
    
    ParameterRequiredTypeRestrictionsDescription
    useApiAllowSourceYbooleanAccess restrictions are available when using API
    apiAllowSourcesNarrayAPI accessible list
    apiAllowSources[].typeNstringType of accessible source (IP, VPC, VPC_SERVER)
    apiAllowSources[].sourceNstringAccessible source information (IP, InstanceNo)

    Responses

    Parameter nameRequiredTypeDescription
    ProcessResultYProcessResultProcess 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 codeError codeError message
    40130Nonexistent 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.