MENU
      Add Assignment Target

        Add Assignment Target


        Article summary

        Adds assignment target to the assignment.

        Request

        • POST /assignments/{assignmentId}/targets

        Request path

        ParametersRequirement statusTypeRestrictionsDescription
        assignmentIdYStringAssignment Id

        Request bodies

        {
          "targetType": "String",
          "targetIds": ["String", "String"]
        }
        JSON
        ParametersRequirement statusTypeDescriptionRestrictions
        targetTypeNStringTarget typeuser, group
        targetIdsNArrayTarget ID

        Response

        Response bodies

        {
          "id": "String",
          "success" : "boolean",
          "message": "String"
        }
        JSON
        ParametersTypeDescriptionRestrictions
        idStringAssignment ID
        successBooleanWhether it is a success
        messageStringError message when failed

        Errors

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

        HTTP status codeError codeError message
        4009050This user doesn't exist
        4009061This group doesn't exist
        4009080Assignment does not exist
        4009081Assignment target does not match
        4009083Assignment target does not exist
        4009086Target already exists in the assignment

        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.