> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# 既存のユーザープロファイルの属性を更新する方法

> Auth0 Management API を使用して、既存のユーザープロファイルの属性を更新する方法を説明します。

既存のユーザープロファイルのルート属性は、Auth0 の Management API (Management API: お客様が管理タスクを実行するための製品です。) を使用して更新できます。

Auth0 の [Normalized User Profile](/docs/docs/ja-jp/manage-users/user-accounts/user-profiles/user-profile-structure) には、更新可能なルート属性があります。更新できるルート属性は、使用している [connection](/docs/docs/ja-jp/authenticate/identity-providers) の種類によって異なります。使用している connection に応じた詳細については、[User Profile Root Attributes](/docs/docs/ja-jp/manage-users/user-accounts/user-profiles/root-attributes) を参照してください。

[Update a User endpoint](/docs/docs/ja-jp/api/management/v2/users/patch-users-by-id) に `PATCH` リクエストを送信します。`USER_ID`、`MGMT_API_ACCESS_TOKEN`、`GIVEN_NAME_VALUE`、`FAMILY_NAME_VALUE`、`NAME_VALUE`、`NICKNAME_VALUE`、および `PICTURE` の各プレースホルダー値は、それぞれユーザー ID、Management API アクセストークン (Access Token: API へのアクセスに使用される、JWT または不透明な文字列形式の Authorization 認証情報です。)、名、姓、名前、ニックネーム、画像 URL に置き換えてください。

Auth0 CLI を使用していますか？まだの場合は、このコマンドを実行する前に [CLI セッションをセットアップして認証](/docs/docs/ja-jp/deploy-monitor/auth0-cli) してください。

| 値 | 説明 |
| - | - |
| `USER_ID` | 更新するユーザーの ID。 |
| `MGMT_API_ACCESS_TOKEN` | `update:users` の [scope](/docs/docs/ja-jp/glossary?term=scope) を持つ [Management API 用のアクセストークン](/docs/docs/ja-jp/secure/tokens/access-tokens/management-api-access-tokens)。 |
| `GIVEN_NAME_VALUE` | 更新するユーザーの名。 |
| `FAMILY_NAME_VALUE` | 更新するユーザーの姓。 |
| `NAME_VALUE` | 更新するユーザーの氏名。 |
| `NICKNAME_VALUE` | 更新するユーザーのニックネーム。 |
| `PICTURE_VALUE` | 更新するユーザーの画像 URL。 |

## 属性の削除

属性の値を `null` に設定すると、その属性はユーザーから削除されます。


## Related topics

- [User Profile Structure](/docs/docs/manage-users/user-accounts/user-profiles/user-profile-structure.md)
- [Set Root Attributes During User Import](/docs/docs/manage-users/user-accounts/user-profiles/root-attributes/set-root-attributes-during-user-import.md)
- [Set Root Attributes During User Sign Up](/docs/docs/manage-users/user-accounts/user-profiles/root-attributes/set-root-attributes-during-user-sign-up.md)
