---
title: "Remove a user from project team"
method: DELETE
path: "/projects/{projectId}/team/{userId}"
tags: ["projects"]
---

# Remove a user from project team

`DELETE /projects/{projectId}/team/{userId}`

## Request

- Base URL: `https://pmp-demo.privateplatform.mendix.com/projectservice/v2`
- URL: `https://pmp-demo.privateplatform.mendix.com/projectservice/v2/projects/{projectId}/team/{userId}`
- Auth: one of:
  - HTTP basic
  - API key in header `Authorization`

Remove a specified user from the project team.

## Path parameters

- `projectId` string, required
- `userId` string, required

## Response `204`

Project sharing user removed successfully, no content in response body

## Other responses

- `400`: Invalid input parameter or request body
- `401`: Authentication information missing or invalid
- `403`: No permission for this operation
- `404`: Resource not found

---

[API](https://skmtc.dev/mendix/apis/project-service-v2.md) - [All operations](https://skmtc.dev/mendix/apis/project-service-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/mendix/apis/project-service-v2/revisions/85d493a478d2?raw)
