# List a project's members

`GET /api/v1/projects/{projectId}/members`

The members with a role in the project. Workspace owners and admins are project admins everywhere without one. Needs the project admin role.

Sign-in: a dashboard session only. API tokens and OAuth sign-ins get `403 token.not_allowed`.

Section: Members and invites. Operation id in openapi.json: `list_project_members`.

## Parameters

| Name | In | Required | Type | Description |
|---|---|---|---|---|
| `projectId` | path | yes | string (uuid) | The project's id. |

## Responses

Errors are `application/problem+json` (`Problem`); branch on `type`.

### 200

The project's members.

`application/json`: array of ProjectMemberView

### 400

Bad Request.

- `auth.credentials_conflict`: the request carries both a session cookie and a token

### 401

Unauthorized.

- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended
- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace

### 403

Forbidden.

- `auth.forbidden`: your role is too low for this
- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it

### 404

Not Found.

- `request.not_found`: it does not exist, or you cannot see it

Schemas named above are listed with their fields in [the schema list](https://docs.monitorly.cloud/api/reference/schemas.md).
