---
title: "Get Deployment Users"
method: GET
path: "/api/agent/deployments/{deploymentId}/users"
tags: ["DeploymentService"]
---

# Get Deployment Users

`GET /api/agent/deployments/{deploymentId}/users`

Get deployment users

## Path parameters

- `deploymentId` string, required

## Query parameters

- `pruneGithub` boolean
- `showActive` boolean

## Response `200`

OK

- ProtosDeploymentV1GetDeploymentUsersResponse
  - `users` ProtosDeploymentV1DeploymentUser[]
    - `id` string
    - `orgRole` 'ORG_ROLE_ADMIN' | 'ORG_ROLE_MEMBER' | 'ORG_ROLE_IMPERSONATOR' | 'ORG_ROLE_READONLY', enum — | value | description | |-------|---------------| | ORG_ROLE_ADMIN | | | ORG_ROLE_MEMBER | | | ORG_ROLE_IMPERSONATOR | | | ORG_ROLE_READONLY | |
    - `authentication` string[]
    - `since` string, date-time
    - `lastUpdatedAt` string, date-time
    - `groups` ProtosDeploymentV1GroupWithRole[]
      - `group` ProtosPermissionsCommonV1Group
        - `id` string
        - `deploymentId` string
        - `name` string
        - `slug` string
        - `description` string
        - `repositoryIds` string[]
        - `users` ProtosPermissionsCommonV1GroupUser[]
          - `userId` string
          - `role` 'ROLE_ADMINISTRATOR' | 'ROLE_MANAGER' | 'ROLE_DEVELOPER' | 'ROLE_READ_ONLY' | 'ROLE_NO_ACCESS', enum — | value | description | |-------|---------------| | ROLE_ADMINISTRATOR | | | ROLE_MANAGER | | | ROLE_DEVELOPER | | | ROLE_READ_ONLY | | | ROLE_NO_ACCESS | |
        - `isDefault` boolean
        - `projectManagementType` 'PROJECT_MANAGEMENT_TYPE_UNMANAGED' | 'PROJECT_MANAGEMENT_TYPE_ALL_PROJECTS', enum — | value | description | |-------|---------------| | PROJECT_MANAGEMENT_TYPE_UNMANAGED | | | PROJECT_MANAGEMENT_TYPE_ALL_PROJECTS | |
        - `parentGroupId` string — Auth services allow for multiple parents, but the app allows only one
        - `childGroupIds` string[]
        - `repositoryCount` string
        - `userCount` string
        - `childGroupCount` string
      - `role` 'ROLE_ADMINISTRATOR' | 'ROLE_MANAGER' | 'ROLE_DEVELOPER' | 'ROLE_READ_ONLY' | 'ROLE_NO_ACCESS', enum — | value | description | |-------|---------------| | ROLE_ADMINISTRATOR | | | ROLE_MANAGER | | | ROLE_DEVELOPER | | | ROLE_READ_ONLY | | | ROLE_NO_ACCESS | |
    - `name` string
    - `login` string
    - `email` string
    - `avatarUrl` string
    - `active` boolean

---

[API](https://skmtc.net/semgrep/apis/semgrep-web-app.md) · [All operations](https://skmtc.net/semgrep/apis/semgrep-web-app/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/semgrep/semgrep-web-app/versions/6483eeecd582/schema)
