---
updatedAt: 2026-04-27T16:09:54.000Z
agentTools:
  projectIndex: https://developer.deputy.com/llms.txt
---

# Get the list of users who has the given permission

Get the list of users who has the given permission.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Deputy V2 API",
    "version": "1.0",
    "description": "\n\nFiltered to publicly-authenticated routes only (APIAuthenticator). Scoped-OAuth routes and internal JWT routes are excluded — see the separate \"Deputy V2 Scoped API\" spec for scoped endpoints."
  },
  "servers": [
    {
      "url": "https://{subdomain}.{region}.deputy.com/api",
      "description": "Deputy tenant",
      "variables": {
        "subdomain": {
          "default": "your-subdomain",
          "description": "Your Deputy tenant subdomain"
        },
        "region": {
          "default": "deputy",
          "enum": [
            "au",
            "eu",
            "na",
            "deputy"
          ],
          "description": "Deputy region: au, eu, na, or deputy (AU default)"
        }
      }
    }
  ],
  "components": {
    "schemas": {
      "EmbeddedReportsGetUsersByPermissionRequest": {
        "type": "object",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/modelGetUsersByPermissionRequestData"
          }
        }
      },
      "EmbeddedReportsGetUsersByPermissionResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "users": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/modelGetUsersByPermissionResponseData"
            }
          }
        }
      },
      "modelGetUsersByPermissionRequestData": {
        "type": "object",
        "properties": {
          "permission": {
            "type": "string",
            "title": "Deputy permission"
          }
        }
      },
      "modelGetUsersByPermissionResponseData": {
        "type": "object",
        "properties": {
          "userUuid": {
            "type": "string",
            "title": "Deputy user UUID"
          },
          "displayName": {
            "type": "string",
            "title": "Deputy user's display name"
          },
          "canManage": {
            "type": "boolean",
            "title": "has user manage permission"
          }
        }
      }
    },
    "securitySchemes": {
      "ApiToken": {
        "type": "apiKey",
        "in": "header",
        "name": "OAuth"
      }
    }
  },
  "paths": {
    "/management/v2/reports/embed/get-users-by-permission": {
      "post": {
        "summary": "Get the list of users who has the given permission",
        "operationId": "EmbeddedReportsV2Controller_getUsersByPermission",
        "responses": {
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmbeddedReportsGetUsersByPermissionResponse"
                }
              }
            }
          }
        },
        "tags": [
          "Embedded Reports"
        ],
        "description": "Get the list of users who has the given permission.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EmbeddedReportsGetUsersByPermissionRequest"
              }
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "ApiToken": []
    }
  ]
}
```