Add sub account to group
    • PDF

    Add sub account to group

    • PDF

    Article summary

    • Add a sub account to a group.

    API

    • POST /groups/{groupId}/sub-accounts

    Request

    Path variables

    ParameterRequiredTypeRestrictionsDescription
    groupIdYStringGroup ID

    Body

    {
    	"subAccountIdList": [
    		"string"
    	]
    }
    
    ParameterRequiredTypeRestrictionsDescription
    subAccountIdListYarraySub account ID list

    Response

    • Response
    Parameter nameRequiredTypeDescription
    ProcessResultYArrayProcessing result
    • Response example - Success
    [
        {
            "success": true,
            "id": "subAccountId1"
        }
    ]
    
    • Response example - Sub account already registered
    [
        {
            "success": false,
            "id": "subAccountId2",
            "message": "This sub account already exists."
        }
    ]
    

    Error

    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
    40030Group that doesn't exist

    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.