Adding group to user
    • PDF

    Adding group to user

    • PDF

    Article summary

    You can add a group to a user.

    Requests

    • POST /groups/{groupId}/users

    Request path

    ParametersRequirement statusTypeRestrictionsDescription
    groupIdYStringGroup Id
    {
        "userIds": ["String", "String"]
    }
    
    ParametersRequirement statusTypeDescriptionRestrictions
    userIdsYArrayUser ID list

    Responses

    Response bodies

    [
      "id": "String",
      "nrn": "String",
      "success" : "boolean",
      "message": "String"
    ]
    
    ParametersTypeDescriptionRestrictions
    [].idStringUser ID
    [].nrnStringnrn of the added user
    [].successBooleanWhether it is a success
    [].messageStringFailure error message

    Errors

    Errors that may occur while using this action are listed below. For error response format, see ErrorResponse.
    For more information on common errors, see NAVER Cloud Platform API.

    HTTP status codeError codeError message
    400400Invalid request
    4009050User does not exist.
    4009061Group does not 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.