Editing sub account
    • PDF

    Editing sub account

    • PDF

    Article summary

    Edit the sub account information.

    API

    • PUT /sub-accounts/{subAccountId}

    Requests

    Path Variables

    ParameterRequiredTypeRestrictionsDescription
    subAccountIdYStringSub Account Id

    Body

    {
    	"active": "boolean",
    	"canAPIGatewayAccess": "boolean",
    	"canConsoleAccess": "boolean",
    	"email": "string",
    	"memo": "string",
    	"name": "string",
    	"isMfaMandatory": "boolean",
    	"useConsolePermitIp": "boolean",
    	"consolePermitIps": [
    		"string"
    	],
    	"useApiAllowSource": "boolean",
    	"apiAllowSources": [
    		{
    			"type": "string",
    			"source": "string"
    		}
    	]
    }
    
    ParameterRequiredTypeRestrictionsDescription
    activeNbooleanSub account status (true: enabled, false: disabled)
    canAPIGatewayAccessNboolean- API Gateway Access
    - You can create an access key to use APIs registered in the API Gateway
    canConsoleAccessNbooleanConsole Access
    Set a sub account to access the management console
    emailNstringEmail
    memoNstringMemo (max: 100 bytes)
    nameYstringName
    isMfaMandatoryNbooleanWhether two-factor authentication is required (true: required, false: optional)
    useConsolePermitIpNbooleanAvailability of IP range limitation when accessing the console
    consolePermitIpsNarrayList of IP ranges accessible to the console
    useApiAllowSourceNbooleanAccess 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

    • Responses
    Parameter nameRequiredTypeDescription
    ProcessResultYProcessResultProcess result
    • Response examples - Succeeded
    {
        "success": true,
        "id": "subAccountId"
    }
    

    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 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.