{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"ユーザーの削除","description":"ユーザーを作成すると、Treasure Data プラットフォームは自動的に2つの API キーを作成します：Master キーと Write-only API キーです。ユーザーは追加の API キーを作成できます。","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"ユーザーの削除","__idx":0},"children":["ユーザーの削除"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ユーザーを作成すると、Treasure Data プラットフォームは自動的に2つの API キーを作成します：Master キーと Write-only API キーです。ユーザーは追加の API キーを作成できます。ユーザーと API キーの関連付けにより、プラットフォームからユーザーを削除する方法によっては、予期しない結果が生じる可能性があります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["セキュリティのベストプラクティスに従うため、Treasure Data は ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Delete API Keys"]}," を選択することをお勧めします。API キーを再割り当てする場合は、すべてのセキュリティへの影響をテストしてください。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/control-panel/security/users/deleting-users#delete-user-authorization"},"children":["ユーザー削除の権限"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/control-panel/security/users/deleting-users#how-user-api-keys-work"},"children":["ユーザー API キーの仕組み"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/control-panel/security/users/deleting-users#delete-users"},"children":["ユーザーの削除"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"ユーザー削除の権限","__idx":1},"children":["ユーザー削除の権限"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下の",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/control-panel/security/users/types-of-users-in-a-treasure-data-account"},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["ユーザータイプ"]}]},"がユーザーを削除できます："]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["アカウントオーナー（オーナー）は、管理者と制限付きユーザーを削除できます。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["管理者は、制限付きユーザーのみを削除できます。"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"ユーザー-api-キーの仕組み","__idx":2},"children":["ユーザー API キーの仕組み"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["各ユーザーは2つの API キー（Master と Write-only API キータイプ）で作成されます。2つの API タイプの詳細については、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/my-settings/getting-your-api-keys"},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["API キーの取得"]}]},"を参照してください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["各ユーザーは、いずれかのタイプの追加 API キーを作成できます。ユーザーごとの API キー数に制限はありません。各 API キーはユーザーと同じ権限を持ちます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ユーザーを削除すると、削除に関連する影響が生じる可能性があります。詳細については、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/control-panel/security/users/deleted-users-and-the-impact-on-existing-resources"},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["削除されたユーザーと既存リソースへの影響"]}]},"を確認してください。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["API キーの削除"]},"。削除された API キーに関連付けられた自動化やスクリプトは即座に失敗します。ストリーミング取り込みは、キャッシュが期限切れになるまで最大1分間動作し続ける場合があります。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["API キーの別のユーザーへの再割り当て"]},"。削除されたユーザーの API キーが異なる権限を持つユーザーに再割り当てされた場合、API キーは新しいユーザーの権限を取得します。"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["例：制限付きユーザーが削除され、その API キーが管理者ユーザーに再割り当てされた場合、再割り当てにより API キーに管理者権限が付与され、最初に意図したよりもはるかに大きな権限になる可能性があります。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"ユーザーの削除-1","__idx":3},"children":["ユーザーの削除"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下のセクションでは、プラットフォームから API キーを削除する方法について説明します。セキュリティのベストプラクティスとして、Treasure Data は削除されたユーザーの API キーを削除することをお勧めします。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/control-panel/security/users/deleting-users#td-console"},"children":["Treasure コンソール"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/control-panel/security/users/deleting-users#v3-api"},"children":["V3 API"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/control-panel/security/users/deleting-users#example-call"},"children":["呼び出し例"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"treasure-コンソール","__idx":4},"children":["Treasure コンソール"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Treasure コンソール でユーザーを削除するには"]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://console.treasuredata.com/app/cp/us"},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["Control Panel"]}]}," に移動します。このページにアクセスするには、管理者またはオーナーである必要があります。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["リストでユーザーを見つけるか、テーブルのカラムヘッダーを選択して検索します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["リストでユーザーを選択すると、ユーザーのプロファイルが表示されます。"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2023-8-7_13-38-34.0d1ebaaab332b1fb6fec303eda54bfd8418595b0e9919e47e5a455da3bfc6ac8.f0cddcd7.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":4},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["削除を開始するには、ユーザーの名前/メールアドレスの右側にあるゴミ箱アイコン（青いヘッダー内）を選択します。"," ","以下のポップアップモーダルが表示されます："]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2023-8-7_13-39-13.21df583e44b59dba59af01ae53f25af2fdcb523a561c136c8f72d7e47b613840.f0cddcd7.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":5},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このモーダルから、管理者/オーナーは削除をキャンセルするか、以下のオプションのいずれかを選択できます："]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["デフォルトの「Reassign API Keys」オプションとデフォルトのユーザー選択を維持する。このオプションは API キーをオーナーに転送します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["デフォルトの「Reassign API Keys」オプションを維持しつつ、別のユーザーに切り替える。このアクションは API キーを既存のユーザーに転送します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["「Delete API Keys」オプションを選択する。このアクションは API キーを削除します。"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"v3-api","__idx":5},"children":["V3 API"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下の API リクエストを使用します。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /v3/user/remove/<email>"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["<email>"]}," は削除するユーザーのメールアドレスです。オーナーと管理者がこのリクエストを実行できます。ユーザーが削除されると、そのすべての API キーも削除されます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"呼び出し例","__idx":6},"children":["呼び出し例"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"$ curl --location --request POST 'https://api.treasuredata.com/v3/user/remove/first.last@company.com' --header 'Accept: application/json' --header 'Authorization: TD1 123/abcdef•••••••••••••••••••••••0123456789' | jq\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["レスポンス"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"user\": \"first.last@company.com\"\n}\n","lang":"json"},"children":[]}]},"headings":[{"value":"ユーザーの削除","id":"ユーザーの削除","depth":1},{"value":"ユーザー削除の権限","id":"ユーザー削除の権限","depth":2},{"value":"ユーザー API キーの仕組み","id":"ユーザー-api-キーの仕組み","depth":2},{"value":"ユーザーの削除","id":"ユーザーの削除-1","depth":2},{"value":"Treasure コンソール","id":"treasure-コンソール","depth":3},{"value":"V3 API","id":"v3-api","depth":3},{"value":"呼び出し例","id":"呼び出し例","depth":4}],"frontmatter":{"seo":{"title":"ユーザーの削除","description":"ユーザーを作成すると、Treasure Data プラットフォームは自動的に2つの API キーを作成します：Master キーと Write-only API キーです。ユーザーは追加の API キーを作成できます。"}},"lastModified":"2026-06-01T09:34:27.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/products/control-panel/security/users/deleting-users","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}