> For the complete documentation index, see [llms.txt](https://docs.ggwp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ggwp.com/jp/idoyobiakusesuiam/apidokyumento-scim/yzapi/yzwo-3.md).

# ユーザーを削除

### 概要

システムからユーザーを削除します。

このエンドポイントは、Okta や Microsoft Azure Active Directory などの ID プロバイダーがユーザーをプロビジョニング解除するために使用します。

***

### エンドポイント

```bash
DELETE /Users/{id}
```

***

### 完全なURL

```bash
https://api.ggwp.com/scim/v2/Users/{id}
```

***

### 認証

```http
Authorization: Bearer <access_token>
```

***

## パスパラメーター

| パラメータ | 型   | 説明         |
| ----- | --- | ---------- |
| id    | 文字列 | ユーザーの一意識別子 |

***

## レスポンス

### 成功（204 No Content）

```
204 No Content
```

* ユーザーが正常に削除されたことを示します
* レスポンス本文は返されません

***

## エラーレスポンス

### 404 Not Found

```json
{
  "schemas": ["urn:ietf:params:scim:api:messages:2.0:Error"],
  "status": "404",
  "detail": "ユーザーが見つかりません"
}
```

***

## 重要事項

* 成功したリクエストでは次が返されます `204 No Content`
* そのユーザーは SCIM API から利用できなくなります
* 同じユーザーに対する後続のリクエストでは次が返されます `404 Not Found`

***

## 動作

* ユーザーは SCIM 管理対象リソースから削除されます
* 同じ対象に対する以降の操作は `id` ～となる場合があります `404 Not Found`
