Creating sub account
    • PDF

    Creating sub account

    • PDF

    Article Summary

    Create a sub account.

    API

    • POST /sub-accounts

    Requests

    Body

    {
    	"active": "boolean",
    	"canAPIGatewayAccess": "boolean",
    	"canConsoleAccess": "boolean",
    	"email": "string",
    	"loginId": "string",
    	"memo": "string",
    	"name": "string",
    	"needPasswordReset": "boolean",
    	"needPasswordGenerate": "boolean",
    	"password": "string",
    	"isMfaMandatory": "boolean",
    	"useConsolePermitIp": "boolean",
    	"consolePermitIps": [
    		"string"
    	],
    	"useApiAllowSource": "boolean",
    	"apiAllowSources": [
    		{
    			"type": "string",
    			"source": "string"
    		}
    	]
    }
    
    ParameterRequiredTypeRestrictionsDescription
    activeYbooleanSub account status (true: enabled, false: disabled)
    canAPIGatewayAccessYboolean- API Gateway Access
    - You can create an access key to use APIs registered in the API Gateway
    canConsoleAccessYboolean- Console Access
    - Set a sub account to access the management console
    emailNstringEmail
    loginIdYstring3 to 60 charactersLogin ID
    memoNstringUp to 300 bytesNotes
    nameYstring2 to 30 charactersName
    needPasswordResetYboolean- Indicates whether password requires reset
    - When users log in with the sub account created, this helps them change their passwords
    needPasswordGenerateNbooleanWhether the automatic generation of a password is required
    passwordNstringRequired if needPasswordGenerate is falsePassword
    isMfaMandatoryNbooleanWhether two-factor authentication is required (true: required, false: optional)
    useConsolePermitIpNbooleanWhether IP range restriction is used upon access to the console (default: false)
    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
    ProcessResultWithPasswordYProcessResultWithPasswordProcess result
    • Response examples - Succeeded in registration
    {
        "success": true,
        "id": "subAccountId",
        "generatedPassword": "Pa$$w0rd"
    }
    

    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
    400120- Duplicate ID
    - You need to enter another ID
    4009015Unsafe password
    4009010- Invalid password format
    - Password must be 8-16 characters in length and include English letters, numbers and special characters

    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.