---
title: "List user profiles"
method: POST
path: "/user/{idUser}/profiles"
tags: ["Users"]
---

# List user profiles

`POST /user/{idUser}/profiles`

## Path parameters

- `idUser` string, required

## Query parameters

- `page` integer
- `sizePage` integer
- `sortField` string
- `sortDirection` 'ASC' | 'DESC'

## Request body

- UserProfile
  - `idUserProfile` integer — Id user profile
  - `idUser` string — Id User
  - `idProfile` integer — Id Profile
  - `idGroup` integer — Id Group
  - `isNoHierarchy` boolean, nullable — No hierarchy
  - `assignedBy` string — Create user profile by
  - `idPolicy` integer — Id Policy
  - `tags` object[], nullable — Tags to which a user belongs
    - `idTags` integer, nullable — Tags id

## Response `200`

List data profiles user object

- object
  - `paginationData` PaginationData — Info pagination data
    - `totalPages` integer, nullable — Number of pages
    - `sizePage` integer, nullable — Items per page
    - `totalRegisters` integer, nullable — Number of items
    - `totalRegistersPage` integer, nullable — Number of items this page
    - `currentPage` integer, nullable — Number of current page
  - `data` UserProfile[]
    - `idUserProfile` integer — Id user profile
    - `idUser` string — Id User
    - `idProfile` integer — Id Profile
    - `idGroup` integer — Id Group
    - `isNoHierarchy` boolean, nullable — No hierarchy
    - `assignedBy` string — Create user profile by
    - `idPolicy` integer — Id Policy
    - `tags` object[], nullable — Tags to which a user belongs
      - `idTags` integer, nullable — Tags id

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Internal server error

---

[API](https://skmtc.net/pandorafms/apis/api-pandora-fms.md) · [All operations](https://skmtc.net/pandorafms/apis/api-pandora-fms/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pandorafms/api-pandora-fms/revisions/f18688ffd894/schema)
