---
title: "List permission users"
method: GET
path: "/user_risk/permissions/users/list"
tags: ["userrisk"]
---

# List permission users

`GET /user_risk/permissions/users/list`

## Request

- Base URL: `https://cyber-risk.upguard.com/api/public`
- URL: `https://cyber-risk.upguard.com/api/public/user_risk/permissions/users/list`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/upguard/apis/upguard-cyberrisk-api/docs/user_risk/permissions/users/list/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve a list of users who granted a specific permission.

Required API key permissions: `User Risk` (select when creating API key in Account Settings)

## Query parameters

- `page_size` integer
- `page_token` string
- `sort_by` 'id' | 'email' | 'name' | 'risk_rating'
- `sort_dir` 'asc' | 'desc'
- `id` string, required

## Response `200`

A list of users who granted the permission

- GetUserRiskPermissionsUsersListResponse
  - `next_page_token` string: The token to be used to retrieve the next page of results. Will not be returned if there are no more results.
  - `users` PermissionUser[], required: The list of users who granted the permission.
    - `email` string, required: The email address of the user.
    - `id` string, required: The unique identifier of the user.
    - `name` string, required: The full name of the user.
    - `risk_rating` integer: The security risk rating of the user (0-950).
    - `role` string: The role assigned to the user.
    - `team` string: The team the user belongs to.

## Other responses

- `403`: Your API key does not have permission to perform this action.
- `422`: An invalid parameter was supplied or a mandatory parameter was missing
- `429`: Too many requests have been made to this endpoint.
- `500`: An internal system error occurred

## Changes

- **2026-11-07** `d044bf6dc61e`: 2 info
  - added the new optional `query` request parameter `sort_by`
  - added the new optional `query` request parameter `sort_dir`

[Operation history](https://skmtc.dev/upguard/apis/upguard-cyberrisk-api/changes/user_risk/permissions/users/list/get.md)

---

[API](https://skmtc.dev/upguard/apis/upguard-cyberrisk-api.md) - [All operations](https://skmtc.dev/upguard/apis/upguard-cyberrisk-api/llms.txt) - [OpenAPI document](https://skmtc.dev/upguard/apis/upguard-cyberrisk-api/revisions/d044bf6dc61e?raw)
