Viewing list of assignments to which user belongs
    • PDF

    Viewing list of assignments to which user belongs

    • PDF

    Article summary

    You can view the list of assignments to which a user belongs.

    Requests

    • GET /users/{userId}/assignments

    Request path

    ParametersRequirement statusTypeRestrictionsDescription
    userIdYStringUser Id

    Request parameters

    ParametersRequirement statusTypeRestrictionsDescription
    pageNintPage number
    Default: 0
    sizeNintList size
    Default: 20

    Responses

    Response bodies

    {
      "page": "integer",
      "totalPages": "integer",
      "totalItems": "integer",
      "hasPrevious": "boolean",
      "hasNext": "boolean",
      "items": [
        {
          "assignmentId": "String",
          "assignmentName": "String",
          "description": "String",
          "nrn": "String",
          "status": "String",
          "iamRoleNrn": "String",
          "createdAt": "String",
          "updatedAt": "String",
          "accountMbrNo": "String",
          "accountName": "String",
          "permissionSetId": "String",
          "consoleAccessAllowed": "String",
          "consoleAccessRestricted": "String",
          "apiAccessAllowed": "String",
          "apiAccessRestricted": "String"
        }
      ],
      "isFirst": "boolean",
      "isLast": "boolean"
    }
    
    ParametersTypeDescriptionRestrictions
    pageNumberPage of the returned result (required)
    totalPagesNumbertotalPage of the returned result (required)
    totalItemsNumbertotalItems of the returned result (required)
    hasPreviousBooleanWhether the current page has a previous page (required)
    hasNextBooleanWhether the current page has a next page (required)
    isFirstBooleanWhether the current page is the first page (required)
    isLastBooleanWhether the current page is the last page (required)
    items.[].assignmentIdStringAssignment ID
    items.[].assignmentNameStringAssignment name
    items.[].descriptionStringAssignment description
    items.[].nrnStringAssignment nrn
    items.[].statusStringAssignment statusactive, suspend
    items.[].iamRoleNrnStringIAM Role nrn
    items.[].createdAtStringCreation time (UTC, e.g., 2023-04-25T13:11:50Z)
    items.[].updatedAtStringEdit time (UTC, e.g., 2023-04-25T13:11:50Z)
    items.[].accountMbrNoNumberAccount number
    items.[].accountNameStringAccount name
    items.[].permissionSetIdStringPermissionSet ID
    items.[].consoleAccessAllowedBooleanWhether console access is allowed
    items.[].consoleAccessRestrictedBooleanWhether console access is restricted
    items.[].apiAccessAllowedBooleanWhether API access is allowed
    items.[].apiAccessRestrictedBooleanWhether API access is restricted

    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
    4009050The user 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.