# Remove a member from a project

`DELETE /api/project/{projectId}/member/{userId}`

URL: https://repsona.com/api/delete-project-projectid-member-userid

## Parameters

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `projectId` | path | integer | required | The project ID. |
| `userId` | path | integer | required | The ID of the user. |

## Request

```sh
curl -X DELETE "https://<space>.repsona.com/api/project/{projectId}/member/{userId}" \
  -H "Authorization: Bearer $REPSONA_API_KEY"
```

## Responses

- 200: Removed (idempotent)
- 401: Authentication is required
- 403: Admin only
- 404: Project not found

## Example response

```json
{
  "ok": true
}
```
