# プロジェクトからメンバーを外す

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

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

ユーザーをプロジェクトから外します。すでに外れている場合も成功します。

## パラメーター

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `projectId` | path | integer | 必須 | プロジェクトの ID です。 |
| `userId` | path | integer | 必須 | ユーザーの ID です。 |

## リクエスト

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

## レスポンス

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

## レスポンスの例

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