---
title: "Get an array of permissions to an environment for team members of an app"
method: GET
path: "/apps/{appId}/environments/{environmentId}/permissions"
tags: ["permissions"]
---

# Get an array of permissions to an environment for team members of an app

`GET /apps/{appId}/environments/{environmentId}/permissions`

## Request

- Base URL: `https://cloud.home.mendix.com/api/v4`
- URL: `https://cloud.home.mendix.com/api/v4/apps/{appId}/environments/{environmentId}/permissions`
- Auth: API key in header `Authorization`

Retrieve an array of application team members with their permissions to the specified environment.

## Query parameters

- `userId` string
- `limit` integer
- `offset` integer

## Response `200`

OK

- object
  - `technicalContact` string: The ID of the user.
  - `permissions` Permission[]
    - `member` object
      - `userId` string: The ID of the user.
    - `canDeployApp` string
    - `canManageBackups` string
    - `canViewAlerts` string
    - `canAccessAPI` string
    - `canViewLogs` string
    - `canManagePrivileges` string
  - `pagination` Pagination: Pagination attributes that reflect the parameters used to get the objects in the response.
    - `offset` integer, required: The offset used to get the array of objects. It starts at 0.
    - `limit` integer, required: The maximum number of objects to retrieve. When not specified then the server will set use the default value. If this is set to a number which is greater than the maximum supported number of objects, then the supported maximum is used.
    - `size` integer, required: The number of objects in the response.

## Other responses

- `401`: There were no usable authentication credentials found. The error response gives additional feedback.
- `403`: Access is denied. The provided credentials are incorrect or the credentials do not have the required level of access. The error response gives additional feedback.
- `404`: The requested item could not be found. The error response gives additional feedback.
- `500`: Internal system error.

---

[API](https://skmtc.dev/mendix/apis/deploy-api.md) - [All operations](https://skmtc.dev/mendix/apis/deploy-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mendix/apis/deploy-api/revisions/4e82641fb4c5?raw)
