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

# Box APIまたはCLIを使用したユーザーのプロビジョニング解除

<div className="article_labels_list" style={{display: 'none'}} dangerouslySetInnerHTML={{__html: "Admin , Article , Product Utilization , Established , Instruction"}} />

## **概要**

**目的**このガイドの目標は、Boxの管理対象ユーザーのプロビジョニング解除に必要なAPIコールについて説明することです。 実行する必要がある特定のAPIコールの概要を、以下で説明します。

**注意事項**このガイドは、APIコールを行うスクリプトやアプリケーション内でビジネスロジックを構築する方法については*扱いません*。 [開発者向けポータル](https://ja.developer.box.com/sdks-and-tools/)には、複数のウェブプログラミング言語の便利なSDKが用意されていますので、活用してください。

## **プロビジョニング解除用のBox Command Lineツール**

ユーザーのプロビジョニング解除を1回だけ行い、SDK管理プロセスをセットアップしたくない場合は、[Boxのコマンドラインツール](https://ja.developer.box.com/guides/tooling/sdks/cli/)の機能を使ってユーザーをプロビジョニング解除します。 開発者は、コマンドラインを使ってアプリケーションを簡単に操作できます。

Box CLIツールの使用を始めるには、[Getting Started (はじめに) ドキュメント](https://github.com/box/boxcli#getting-started)を確認してください。

この方法を採用して、SDKを使わずにユーザーをプロビジョニング解除する場合は、**前提条件**セクションを飛ばして**プロビジョニング解除プロセス**セクションに進んでください。

## **前提****条****件**

**アプリの作成**作業を始める前に、Boxの開発者向けポータルにBoxアプリがセットアップされていることを確認してください。 このプロセスには[Box Developers入門ガイド](https://ja.developer.box.com/guides/applications/)が参考になります。すぐに作業を始めたい場合は、[アプリの作成](https://app.box.com/developers/console)へ進んでください。

**認証**

題の1つが、認証です。 BoxではOAuth 2.0を使用して、特定のユーザーとしてBoxでアクションを実行するアプリを承認します。 この場合、そのユーザーはBoxインスタンス内で何らかの管理者 (または共同管理者) である必要があります。 OAuthプロセスを理解することは大変なので、まず[OAuthを使用した認証](https://ja.developer.box.com/guides/authentication/oauth2/oauth2-setup/)ガイドを参照してください。 OAuth認証プロセスによりアクセストークンとリフレッシュトークンが生成されます。アクセストークンは、Boxに対して実行する*すべての*APIコールで使用します。

**As-User機能**

下記の特定のステップでは、アプリケーションは管理対象ユーザーとしてAPIコールを実行できる必要があります。 これは、Box開発者コンソールの \[構成] タブで有効にできます。 JWT認証を使用している場合は、必ずアプリケーションを再承認し、新しいトークンペアを取得して、変更を有効にしてください。

**サービスアカウント**

ユーザーのコンテンツを別のBoxユーザーに移してから削除したい場合、スクリプトを実行する前に該当ユーザーのアカウントをBoxに作成する必要があります。 また、そのユーザーのBoxユーザーIDを入手する必要もあります。これは、[会社ユーザーを取得](https://ja.developer.box.com/reference/get-users/)するエンドポイントを呼び出すことでプログラム的に取得できます (あるいはBox担当者にお問い合わせください)。

## **プロビジョニング解除プロセス**

Boxのユーザーをプロビジョニング解除するには、いくつかの手順があります。 これらの手順は、ユーザーが所有する既存コンテンツをどう管理するかによっては省略できます。 また、必要な手順はそのコンテンツの扱い方に応じて変わります。 考えられるすべての手順の概要を以下に示します。

* ユーザーを非アクティブステータスにする

  * この操作により、ユーザーは即座にすべてのアプリ (Box Sync、Mobileなど) からログアウトします。
  * このユーザーが所有するフォルダのコラボレータは、そのユーザーが非アクティブになっている間、コラボレーションしているコンテンツにアクセスできなくなります。

* 残っているコンテンツを汎用サービスアカウント (または別のユーザー) に移す

* ユーザーアカウント (およびアカウントに残っているすべてのコンテンツ) を削除またはダウングレードする

必要なすべてのAPIコールを含む各手順の詳しい説明については、以下の各セクションを参照してください。

## **ユーザープロビジョニング****解除用の****Box Command Lineの使い方**

|    |                              |                                                                |                                                                               |
| -- | ---------------------------- | -------------------------------------------------------------- | ----------------------------------------------------------------------------- |
|    | **操作**                       | **コマンドライン入力**                                                  | **注**                                                                         |
| 1. | Box内の全ユーザーをリストアップする          | \$ box users                                                   | フォーマットするには「--csv」フラグを追加します。  ファイルに保存するには「-s」を追加します。                           |
| 2. | 単一のユーザーが所有するコンテンツを移行する       | \$ box users:transfer-content \{USERID} \{NEWUSERID}           |                                                                               |
| 3. | 1回の操作で複数のユーザーのコンテンツをまとめて移行する | \$ box users:transfer-content --bulk-file-path='./example.csv' | 想定される入力 (例):  546781,100001    この操作により、ユーザー「546781」のコンテンツがユーザー「100001」に移動します。 |
| 4. | 単一のユーザーを削除する                 | \$ box users:delete \{USERID}                                  |                                                                               |
| 5. | 1回の操作で複数のユーザーをまとめて削除する       | \$ box users:delete --bulk-file-path='./example.csv'           | 想定される入力 (例):  546781    この操作により、IDが「546781」のユーザーが削除されます。                      |

## **ユーザープロビジョニング解除用の****Box SDK****の使い方**

**Box内の全ユーザーのリストを取得する**

ユーザーをプロビジョニング解除するには、Boxでユーザーを非アクティブ化および/または削除する必要があります。 Active Directoryで非アクティブ化されているBoxユーザーを把握するには、BoxユーザーのステータスとActive Directoryユーザーのステータスを比較します。 以下の手順で、ユーザーIDとメールアドレスを含むBox内の全ユーザーのリストを取得できます。 このメールアドレスを使用してActive Directoryをポーリングし、そのユーザーが非アクティブ化されているかどうかを確認します。 非アクティブ化されていた場合、本ガイドの続きの部分にはBoxユーザーIDを使用します。 コールはすべて管理者アカウントから実行する必要があることに注意してください。

<table class="resizable" draggable="false" data-struct-id="tablefc25f5afe8134139be738b213ec30aa0" data-node-type="structure">
  <tbody>
    <tr data-node-type="structure">
      <td data-node-type="structure" data-table-cell="struct-tablefc25f5afe8134139be738b213ec30aa0_rowce3b645ca7b749a487f443ef7f9572a6_colec1dd9b9a8c7473ca1d1aeedc255e0f7"> </td>

      <td data-node-type="structure" data-table-cell="struct-tablefc25f5afe8134139be738b213ec30aa0_rowce3b645ca7b749a487f443ef7f9572a6_cola7a8df871c3a41ae88f8ff2fbd905cc4">
        <div id="magicdomid93" class="ace-line struct-tablefc25f5afe8134139be738b213ec30aa0_rowce3b645ca7b749a487f443ef7f9572a6_cola7a8df871c3a41ae88f8ff2fbd905cc4 struct-prop-table-col_width_percentage_24" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><span class="author-240083983"><strong>操作</strong></span></div>
        </div>
      </td>

      <td data-node-type="structure" data-table-cell="struct-tablefc25f5afe8134139be738b213ec30aa0_rowce3b645ca7b749a487f443ef7f9572a6_col32503c98a0f44280b464190f82c2625f">
        <div id="magicdomid94" class="ace-line struct-tablefc25f5afe8134139be738b213ec30aa0_rowce3b645ca7b749a487f443ef7f9572a6_col32503c98a0f44280b464190f82c2625f struct-prop-table-col_width_percentage_27" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><span class="author-240083983"><strong>API URLエンドポイント</strong></span></div>
        </div>

        <div id="magicdomid95" class="ace-line struct-tablefc25f5afe8134139be738b213ec30aa0_rowce3b645ca7b749a487f443ef7f9572a6_col32503c98a0f44280b464190f82c2625f struct-prop-table-col_width_percentage_27" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><span class="author-240083983 font-color-000000 font-size-small i"><em>(ドキュメントへのリンク)</em></span></div>
        </div>
      </td>

      <td data-node-type="structure" data-table-cell="struct-tablefc25f5afe8134139be738b213ec30aa0_rowce3b645ca7b749a487f443ef7f9572a6_col2f2cd393806b4fac90ab39421beb1057">
        <div id="magicdomid96" class="ace-line struct-tablefc25f5afe8134139be738b213ec30aa0_rowce3b645ca7b749a487f443ef7f9572a6_col2f2cd393806b4fac90ab39421beb1057 struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><span class="author-240083983"><strong>補足</strong></span></div>
        </div>
      </td>
    </tr>

    <tr data-node-type="structure">
      <td data-node-type="structure" data-table-cell="struct-tablefc25f5afe8134139be738b213ec30aa0_rowfd659760ab944052b78122458c9e4868_colec1dd9b9a8c7473ca1d1aeedc255e0f7">
        <div id="magicdomid97" class="ace-line struct-tablefc25f5afe8134139be738b213ec30aa0_rowfd659760ab944052b78122458c9e4868_colec1dd9b9a8c7473ca1d1aeedc255e0f7 struct-prop-table-col_width_percentage_5" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><span class="author-240083983">1.</span></div>
        </div>
      </td>

      <td data-node-type="structure" data-table-cell="struct-tablefc25f5afe8134139be738b213ec30aa0_rowfd659760ab944052b78122458c9e4868_cola7a8df871c3a41ae88f8ff2fbd905cc4">
        <div id="magicdomid98" class="ace-line struct-tablefc25f5afe8134139be738b213ec30aa0_rowfd659760ab944052b78122458c9e4868_cola7a8df871c3a41ae88f8ff2fbd905cc4 struct-prop-table-col_width_percentage_24" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><span class="author-240083983">処理対象のBoxユーザーIDを探す</span></div>
        </div>
      </td>

      <td data-node-type="structure" data-table-cell="struct-tablefc25f5afe8134139be738b213ec30aa0_rowfd659760ab944052b78122458c9e4868_col32503c98a0f44280b464190f82c2625f">
        <div id="magicdomid99" class="ace-line struct-tablefc25f5afe8134139be738b213ec30aa0_rowfd659760ab944052b78122458c9e4868_col32503c98a0f44280b464190f82c2625f struct-prop-table-col_width_percentage_27" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><a href="https://ja.developer.box.com/reference/get-users-id/"><span class="author-240083983 link-MTQ3MTU3NTU4OTgxMC1odHRwczovL2RvY3MuYm94LmNvbS9yZWZlcmVuY2UjZ2V0LWFsbC11c2Vycy1pbi1hbi1lbnRlcnByaXNl">GET</span></a></div>
        </div>

        <div id="magicdomid100" class="ace-line struct-tablefc25f5afe8134139be738b213ec30aa0_rowfd659760ab944052b78122458c9e4868_col32503c98a0f44280b464190f82c2625f struct-prop-table-col_width_percentage_27" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker">
            <span class="author-240083983 link-MTQ3MTU3NTU4OTgxMS1odHRwczovL2RvY3MuYm94LmNvbS9yZWZlcmVuY2UjZ2V0LWFsbC11c2Vycy1pbi1hbi1lbnRlcnByaXNl" /><a href="https://ja.developer.box.com/reference/get-users-id/" target="_blank" rel="noopener noreferrer"><span class="author-240083983 link-MTQ3MTU3NTU4OTgxMS1odHRwczovL2RvY3MuYm94LmNvbS9yZWZlcmVuY2UjZ2V0LWFsbC11c2Vycy1pbi1hbi1lbnRlcnByaXNl">/users</span></a>
          </div>
        </div>
      </td>

      <td data-node-type="structure" data-table-cell="struct-tablefc25f5afe8134139be738b213ec30aa0_rowfd659760ab944052b78122458c9e4868_col2f2cd393806b4fac90ab39421beb1057">
        <div id="magicdomid101" class="ace-line struct-tablefc25f5afe8134139be738b213ec30aa0_rowfd659760ab944052b78122458c9e4868_col2f2cd393806b4fac90ab39421beb1057 struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-left author-240083983 lineAttribMarker">
            <span class="author-240083983">リクエスト</span><span class="author-240083983"><strong>URL</strong></span><span class="author-240083983">パラメータ (省略可)</span>
          </div>
        </div>

        <div id="magicdomid102" class="ace-line struct-tablefc25f5afe8134139be738b213ec30aa0_rowfd659760ab944052b78122458c9e4868_col2f2cd393806b4fac90ab39421beb1057 struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-left author-240083983 list:bullet2 lineAttribMarker">
            <ul class="list-bullet2">
              <li class="">
                <span class="author-240083983">filter\_term=</span><span class="author-240083983 font-color-26c281 font-size-medium">\{email\_address}</span>
              </li>
            </ul>
          </div>
        </div>

        <div id="magicdomid103" class="ace-line struct-tablefc25f5afe8134139be738b213ec30aa0_rowfd659760ab944052b78122458c9e4868_col2f2cd393806b4fac90ab39421beb1057 struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-left author-240083983 list:bullet3 lineAttribMarker">
            <ul class="list-bullet3">
              <li class=""><span class="author-240083983">該当ユーザーのユーザーオブジェクトのみが返されます。</span></li>
            </ul>
          </div>
        </div>

        <div id="magicdomid104" class="ace-line struct-tablefc25f5afe8134139be738b213ec30aa0_rowfd659760ab944052b78122458c9e4868_col2f2cd393806b4fac90ab39421beb1057 struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-left author-240083983 lineAttribMarker"><span class="author-240083983">応答:</span></div>
        </div>

        <div id="magicdomid105" class="ace-line struct-tablefc25f5afe8134139be738b213ec30aa0_rowfd659760ab944052b78122458c9e4868_col2f2cd393806b4fac90ab39421beb1057 struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-left author-240083983 list:bullet2 lineAttribMarker">
            <ul class="list-bullet2">
              <li class="">
                <span class="author-240083983">ユーザーオブジェクト。 該当ユーザーのログイン情報 (メールアドレス) と</span><span class="author-240083983 font-color-9f3fed font-size-medium">ユーザーID</span><span class="author-240083983">が含まれます。</span>
              </li>
            </ul>
          </div>
        </div>
      </td>
    </tr>
  </tbody>

  <tfoot class="unselectable-structure-node table-col-resize-dragger-container disableSelectable" contenteditable="false" data-node-type="structure" />
</table>

**残っているコンテンツを汎用サービスアカウントに移す**

ユーザーのアカウントに残っているコンテンツ (または、この時点までコンテンツに影響を与えていない場合はすべてのコンテンツ) を汎用サービスアカウントに移すことができます。 この操作を行うには、そのユーザーがBoxの既存ユーザーであり、そのユーザーのユーザーIDを把握している必要があります (上記「前提条件」参照)。 また、ユーザーの全コンテンツを格納するコンテナフォルダを作成する必要があります。こうすることで、以前そのフォルダで所有されていたコンテンツを今後検索しやすくなります。

コールはすべて管理者アカウントから実行する必要があることに注意してください。

<table class="resizable" draggable="false" data-struct-id="tablea5e16ea0c4974433a83a91fed03aca60" data-node-type="structure">
  <tbody>
    <tr data-node-type="structure">
      <td data-node-type="structure" data-table-cell="struct-tablea5e16ea0c4974433a83a91fed03aca60_row5a47a33efc5b41148a69e8ef9ca02831_col1ec715c677aa4ad6b1b50f2bda2cbe85"> </td>

      <td data-node-type="structure" data-table-cell="struct-tablea5e16ea0c4974433a83a91fed03aca60_row5a47a33efc5b41148a69e8ef9ca02831_cole83ad8d3e7fc497ba35a0c083a24476c">
        <div id="magicdomid114" class="ace-line struct-tablea5e16ea0c4974433a83a91fed03aca60_row5a47a33efc5b41148a69e8ef9ca02831_cole83ad8d3e7fc497ba35a0c083a24476c struct-prop-table-col_width_percentage_24" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><span class="author-240083983"><strong>操作</strong></span></div>
        </div>
      </td>

      <td data-node-type="structure" data-table-cell="struct-tablea5e16ea0c4974433a83a91fed03aca60_row5a47a33efc5b41148a69e8ef9ca02831_col1424001bb2e245c5bad60ebbb709a360">
        <div id="magicdomid115" class="ace-line struct-tablea5e16ea0c4974433a83a91fed03aca60_row5a47a33efc5b41148a69e8ef9ca02831_col1424001bb2e245c5bad60ebbb709a360 struct-prop-table-col_width_percentage_27" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><span class="author-240083983"><strong>API URLエンドポイント</strong></span></div>
        </div>

        <div id="magicdomid116" class="ace-line struct-tablea5e16ea0c4974433a83a91fed03aca60_row5a47a33efc5b41148a69e8ef9ca02831_col1424001bb2e245c5bad60ebbb709a360 struct-prop-table-col_width_percentage_27" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><span class="author-240083983 font-color-000000 font-size-small i"><em>(ドキュメントへのリンク)</em></span></div>
        </div>
      </td>

      <td data-node-type="structure" data-table-cell="struct-tablea5e16ea0c4974433a83a91fed03aca60_row5a47a33efc5b41148a69e8ef9ca02831_colee088c47af4849cc8f851f9dc7164eb4">
        <div id="magicdomid117" class="ace-line struct-tablea5e16ea0c4974433a83a91fed03aca60_row5a47a33efc5b41148a69e8ef9ca02831_colee088c47af4849cc8f851f9dc7164eb4 struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><span class="author-240083983"><strong>補足</strong></span></div>
        </div>
      </td>
    </tr>

    <tr data-node-type="structure">
      <td data-node-type="structure" data-table-cell="struct-tablea5e16ea0c4974433a83a91fed03aca60_rowc5e60a1d17b344a48b004ddaff35068c_col1ec715c677aa4ad6b1b50f2bda2cbe85">
        <div id="magicdomid118" class="ace-line struct-tablea5e16ea0c4974433a83a91fed03aca60_rowc5e60a1d17b344a48b004ddaff35068c_col1ec715c677aa4ad6b1b50f2bda2cbe85 struct-prop-table-col_width_percentage_5" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><span class="author-240083983">1.</span></div>
        </div>
      </td>

      <td data-node-type="structure" data-table-cell="struct-tablea5e16ea0c4974433a83a91fed03aca60_rowc5e60a1d17b344a48b004ddaff35068c_cole83ad8d3e7fc497ba35a0c083a24476c">
        <div id="magicdomid119" class="ace-line struct-tablea5e16ea0c4974433a83a91fed03aca60_rowc5e60a1d17b344a48b004ddaff35068c_cole83ad8d3e7fc497ba35a0c083a24476c struct-prop-table-col_width_percentage_24" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><span class="author-240083983">ユーザーのすべてのコンテンツをサービスアカウントに移す</span></div>
        </div>
      </td>

      <td data-node-type="structure" data-table-cell="struct-tablea5e16ea0c4974433a83a91fed03aca60_rowc5e60a1d17b344a48b004ddaff35068c_col1424001bb2e245c5bad60ebbb709a360">
        <div id="magicdomid120" class="ace-line struct-tablea5e16ea0c4974433a83a91fed03aca60_rowc5e60a1d17b344a48b004ddaff35068c_col1424001bb2e245c5bad60ebbb709a360 struct-prop-table-col_width_percentage_27" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><a href="https://ja.developer.box.com/reference/put-users-id/" target="_blank" rel="noopener noreferrer"><span class="author-240083983 font-color-000000 font-size-medium link-MTQ3MTYyMDMwMTUwMS1odHRwczovL2RvY3MuYm94LmNvbS9yZWZlcmVuY2UjbW92ZS1mb2xkZXItaW50by1hbm90aGVyLXVzZXJzLWZvbGRlcg==">PUT </span><span class="author-240083983 link-MTQ3MTYyMDMwMTUwMS1odHRwczovL2RvY3MuYm94LmNvbS9yZWZlcmVuY2UjbW92ZS1mb2xkZXItaW50by1hbm90aGVyLXVzZXJzLWZvbGRlcg==">/users/</span><span class="author-240083983 b link-MTQ3MTYyMDMwMTUwMS1odHRwczovL2RvY3MuYm94LmNvbS9yZWZlcmVuY2UjbW92ZS1mb2xkZXItaW50by1hbm90aGVyLXVzZXJzLWZvbGRlcg=="><strong>\{USER\_ID}</strong></span><span class="author-240083983 link-MTQ3MTYyMDMwMTUwMS1odHRwczovL2RvY3MuYm94LmNvbS9yZWZlcmVuY2UjbW92ZS1mb2xkZXItaW50by1hbm90aGVyLXVzZXJzLWZvbGRlcg==">/folders/</span><span class="author-240083983 font-color-000000 font-size-medium link-MTQ3MTYyMDMwMTUwMS1odHRwczovL2RvY3MuYm94LmNvbS9yZWZlcmVuY2UjbW92ZS1mb2xkZXItaW50by1hbm90aGVyLXVzZXJzLWZvbGRlcg==">0</span></a></div>
        </div>

        <div id="magicdomid121" class="ace-line struct-tablea5e16ea0c4974433a83a91fed03aca60_rowc5e60a1d17b344a48b004ddaff35068c_col1424001bb2e245c5bad60ebbb709a360 struct-prop-table-col_width_percentage_27" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker" />
        </div>

        <div id="magicdomid122" class="ace-line struct-tablea5e16ea0c4974433a83a91fed03aca60_rowc5e60a1d17b344a48b004ddaff35068c_col1424001bb2e245c5bad60ebbb709a360 struct-prop-table-col_width_percentage_27" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker">
            <span class="author-240083983"><strong>\*\{USER\_ID}</strong></span><span class="author-240083983">には、コンテンツを移すユーザーのBox ID (上記の手順で取得) を指定します。</span>
          </div>
        </div>

        <div id="magicdomid123" class="ace-line struct-tablea5e16ea0c4974433a83a91fed03aca60_rowc5e60a1d17b344a48b004ddaff35068c_col1424001bb2e245c5bad60ebbb709a360 struct-prop-table-col_width_percentage_27" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker" />
        </div>
      </td>

      <td data-node-type="structure" data-table-cell="struct-tablea5e16ea0c4974433a83a91fed03aca60_rowc5e60a1d17b344a48b004ddaff35068c_colee088c47af4849cc8f851f9dc7164eb4">
        <div id="magicdomid124" class="ace-line struct-tablea5e16ea0c4974433a83a91fed03aca60_rowc5e60a1d17b344a48b004ddaff35068c_colee088c47af4849cc8f851f9dc7164eb4 struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-left author-240083983 lineAttribMarker">
            <span class="author-240083983">リクエスト</span><span class="author-240083983"><strong>ボディ</strong></span><span class="author-240083983">パラメータ:</span>
          </div>
        </div>

        <div id="magicdomid125" class="ace-line struct-tablea5e16ea0c4974433a83a91fed03aca60_rowc5e60a1d17b344a48b004ddaff35068c_colee088c47af4849cc8f851f9dc7164eb4 struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-left author-240083983 list:bullet2 lineAttribMarker">
            <ul class="list-bullet2">
              <li class="">
                <span class="author-240083983">owned\_by: \{ id:\<サービスアカウントのUSER\_ID> }</span>
              </li>
            </ul>
          </div>
        </div>

        <div id="magicdomid126" class="ace-line struct-tablea5e16ea0c4974433a83a91fed03aca60_rowc5e60a1d17b344a48b004ddaff35068c_colee088c47af4849cc8f851f9dc7164eb4 struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-left author-240083983 lineAttribMarker"><span class="author-240083983">応答:</span></div>
        </div>

        <div id="magicdomid127" class="ace-line struct-tablea5e16ea0c4974433a83a91fed03aca60_rowc5e60a1d17b344a48b004ddaff35068c_colee088c47af4849cc8f851f9dc7164eb4 struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-left author-240083983 list:bullet2 lineAttribMarker">
            <ul class="list-bullet2">
              <li class="">
                <span class="author-240083983">ステータスコード: 200とフォルダオブジェクト。 このオブジェクトには、新規作成されたフォルダの</span><span class="author-240083983 font-color-9f3fed font-size-medium">フォルダID</span><span class="author-240083983">が含まれます。</span>
              </li>
            </ul>
          </div>
        </div>
      </td>
    </tr>

    <tr data-node-type="structure">
      <td data-node-type="structure" data-table-cell="struct-tablea5e16ea0c4974433a83a91fed03aca60_row5560468975274ae282754c965ff567a3_col1ec715c677aa4ad6b1b50f2bda2cbe85">
        <div id="magicdomid128" class="ace-line struct-tablea5e16ea0c4974433a83a91fed03aca60_row5560468975274ae282754c965ff567a3_col1ec715c677aa4ad6b1b50f2bda2cbe85 struct-prop-table-col_width_percentage_5" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><span class="author-240083983">2.</span></div>
        </div>
      </td>

      <td data-node-type="structure" data-table-cell="struct-tablea5e16ea0c4974433a83a91fed03aca60_row5560468975274ae282754c965ff567a3_cole83ad8d3e7fc497ba35a0c083a24476c">
        <div id="magicdomid129" class="ace-line struct-tablea5e16ea0c4974433a83a91fed03aca60_row5560468975274ae282754c965ff567a3_cole83ad8d3e7fc497ba35a0c083a24476c struct-prop-table-col_width_percentage_24" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><span class="author-240083983">ユーザーのメールアドレスを含むフォルダ名に変更する</span></div>
        </div>

        <div id="magicdomid130" class="ace-line struct-tablea5e16ea0c4974433a83a91fed03aca60_row5560468975274ae282754c965ff567a3_cole83ad8d3e7fc497ba35a0c083a24476c struct-prop-table-col_width_percentage_24" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><span class="author-240083983"><strong><em>(省略可)</em></strong></span></div>
        </div>
      </td>

      <td data-node-type="structure" data-table-cell="struct-tablea5e16ea0c4974433a83a91fed03aca60_row5560468975274ae282754c965ff567a3_col1424001bb2e245c5bad60ebbb709a360">
        <div id="magicdomid131" class="ace-line struct-tablea5e16ea0c4974433a83a91fed03aca60_row5560468975274ae282754c965ff567a3_col1424001bb2e245c5bad60ebbb709a360 struct-prop-table-col_width_percentage_27" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><a href="https://ja.developer.box.com/reference/put-folders-id/" target="_blank" rel="noopener noreferrer"><span class="author-240083983 link-MTQ3NTIwMDA1Nzg5MC1odHRwczovL2RvY3MuYm94LmNvbS9yZWZlcmVuY2UjdXBkYXRlLWluZm9ybWF0aW9uLWFib3V0LWEtZm9sZGVy">PUT</span></a></div>
        </div>

        <div id="magicdomid132" class="ace-line struct-tablea5e16ea0c4974433a83a91fed03aca60_row5560468975274ae282754c965ff567a3_col1424001bb2e245c5bad60ebbb709a360 struct-prop-table-col_width_percentage_27" data-node-type="line">
          <div class="align-center author-240083983 link-MTQ3NTIwMDA1Nzg5MC1odHRwczovL2RvY3MuYm94LmNvbS9yZWZlcmVuY2UjdXBkYXRlLWluZm9ybWF0aW9uLWFib3V0LWEtZm9sZGVy lineAttribMarker"><a href="https://ja.developer.box.com/reference/put-folders-id/" target="_blank" rel="noopener noreferrer"><span class="author-240083983 link-MTQ3NTIwMDA1Nzg5MC1odHRwczovL2RvY3MuYm94LmNvbS9yZWZlcmVuY2UjdXBkYXRlLWluZm9ybWF0aW9uLWFib3V0LWEtZm9sZGVy">/folders/</span><span class="author-240083983 b link-MTQ3NTIwMDA1Nzg5MC1odHRwczovL2RvY3MuYm94LmNvbS9yZWZlcmVuY2UjdXBkYXRlLWluZm9ybWF0aW9uLWFib3V0LWEtZm9sZGVy"><strong>\{FOLDER\_ID}</strong></span></a></div>
        </div>
      </td>

      <td data-node-type="structure" data-table-cell="struct-tablea5e16ea0c4974433a83a91fed03aca60_row5560468975274ae282754c965ff567a3_colee088c47af4849cc8f851f9dc7164eb4">
        <div id="magicdomid133" class="ace-line struct-tablea5e16ea0c4974433a83a91fed03aca60_row5560468975274ae282754c965ff567a3_colee088c47af4849cc8f851f9dc7164eb4 struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-left author-240083983 lineAttribMarker"><span class="author-240083983">リクエストヘッダー:</span></div>
        </div>

        <div id="magicdomid134" class="ace-line struct-tablea5e16ea0c4974433a83a91fed03aca60_row5560468975274ae282754c965ff567a3_colee088c47af4849cc8f851f9dc7164eb4 struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-left author-240083983 list:bullet2 lineAttribMarker">
            <ul class="list-bullet2">
              <li class="">
                <span class="author-240083983">As-User: </span><span class="author-240083983 font-color-ea1f43 i"><em>\<サービスアカウントのUSER\_ID></em></span>
              </li>
            </ul>
          </div>
        </div>

        <div id="magicdomid135" class="ace-line struct-tablea5e16ea0c4974433a83a91fed03aca60_row5560468975274ae282754c965ff567a3_colee088c47af4849cc8f851f9dc7164eb4 struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-left author-240083983 list:bullet3 lineAttribMarker">
            <ul class="list-bullet3">
              <li class=""><span class="author-240083983">これは、アプリケーションで認証するユーザーによっては省略できます。</span></li>
            </ul>
          </div>
        </div>

        <div id="magicdomid136" class="ace-line struct-tablea5e16ea0c4974433a83a91fed03aca60_row5560468975274ae282754c965ff567a3_colee088c47af4849cc8f851f9dc7164eb4 struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-left author-240083983 lineAttribMarker">
            <span class="author-240083983">リクエスト</span><span class="author-240083983"><strong>ボディ</strong></span><span class="author-240083983">パラメータ:</span>
          </div>
        </div>

        <div id="magicdomid137" class="ace-line struct-tablea5e16ea0c4974433a83a91fed03aca60_row5560468975274ae282754c965ff567a3_colee088c47af4849cc8f851f9dc7164eb4 struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-left author-240083983 list:bullet2 lineAttribMarker">
            <ul class="list-bullet2">
              <li class="">
                <span class="author-240083983">folder\_id: </span><span class="author-240083983 font-color-9f3fed font-size-medium i"><em>\<上記の前の呼び出しで返されたフォルダID></em></span>
              </li>
            </ul>
          </div>
        </div>

        <div id="magicdomid138" class="ace-line struct-tablea5e16ea0c4974433a83a91fed03aca60_row5560468975274ae282754c965ff567a3_colee088c47af4849cc8f851f9dc7164eb4 struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-left author-240083983 list:bullet2 lineAttribMarker">
            <ul class="list-bullet2">
              <li class="">
                <span class="author-240083983">name: </span><span class="author-240083983 font-color-000000 font-size-medium i"><em>\<任意の新しいフォルダ名></em></span>
              </li>
            </ul>
          </div>
        </div>

        <div id="magicdomid139" class="ace-line struct-tablea5e16ea0c4974433a83a91fed03aca60_row5560468975274ae282754c965ff567a3_colee088c47af4849cc8f851f9dc7164eb4 struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-left author-240083983 list:bullet3 lineAttribMarker">
            <ul class="list-bullet3">
              <li class=""><span class="author-240083983">以前のユーザーのメールアドレスやその他の属性を含めておくと、追跡が容易になります。</span></li>
            </ul>
          </div>
        </div>

        <div id="magicdomid140" class="ace-line struct-tablea5e16ea0c4974433a83a91fed03aca60_row5560468975274ae282754c965ff567a3_colee088c47af4849cc8f851f9dc7164eb4 struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-left author-240083983 lineAttribMarker"><span class="author-240083983">応答:</span></div>
        </div>

        <div id="magicdomid141" class="ace-line struct-tablea5e16ea0c4974433a83a91fed03aca60_row5560468975274ae282754c965ff567a3_colee088c47af4849cc8f851f9dc7164eb4 struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-left author-240083983 list:bullet2 lineAttribMarker">
            <ul class="list-bullet2">
              <li class="">
                <span class="author-240083983">ステータスコード: 200。 フォルダ名が正常に更新されたことを示します。 </span><span class="author-240083983">フォルダが正常に更新されなかった場合、手動で名前を変更するようフォルダにフラグが付けられます</span><span class="author-240083983">。</span>
              </li>
            </ul>
          </div>
        </div>
      </td>
    </tr>
  </tbody>

  <tfoot class="unselectable-structure-node table-col-resize-dragger-container disableSelectable" contenteditable="false" data-node-type="structure" />
</table>

**サービスアカウントに移した後の新規作成フォルダに関するその他の情報**

フォルダ移動エンドポイントで新規作成したフォルダには、次の属性があります。

**Folder Name (フォルダ名):** \[ユーザー名] のファイルとフォルダ

**Folder Description (フォルダの説明):** このフォルダには、\[ユーザー名] が以前所有し、エンタープライズ管理者によって転送されたファイルが格納されます。 ご質問がある場合は、\[エンタープライズ管理者の名前とメールアドレス] にお問い合わせください。

**ユーザーを削除またはダウングレードする**ユーザーをプロビジョニング解除するには、Boxでユーザーを非アクティブ化および/または削除する必要があります。 非アクティブ化は、ユーザーをプログラムで削除する場合は省略できる最初の手順です。ただし、ユーザーをプログラムで削除しない場合、これは最低限必要な手順となります。 ユーザーを非アクティブ化すると、そのユーザーは即座にすべてのアプリ (Box Sync、Mobile、サードパーティ製アプリなど) からログアウトします。 また、ユーザーのすべてのコンテンツが一時的に凍結されます。 このユーザーが所有するフォルダのコラボレータは、そのユーザーが非アクティブになっている間、コラボレーションしているコンテンツにアクセスできなくなります。 非アクティブステータスは、ユーザーのコンテンツの移動先を判断する間の「保持期間」として一時的にのみ使用されます。 コールはすべて管理者アカウントから実行する必要があることに注意してください。

<table class="resizable" draggable="false" data-struct-id="tableba8d2a471c72486da3b35dd503d00026" data-node-type="structure">
  <tbody>
    <tr data-node-type="structure">
      <td data-node-type="structure" data-table-cell="struct-tableba8d2a471c72486da3b35dd503d00026_row02060e7f45714a6789ee117118567c70_col5a93d6984d5848e697b9a135b9b41a45"> </td>

      <td data-node-type="structure" data-table-cell="struct-tableba8d2a471c72486da3b35dd503d00026_row02060e7f45714a6789ee117118567c70_col4f7c9aba133d4634803062b891c29870">
        <div id="magicdomid155" class="ace-line struct-tableba8d2a471c72486da3b35dd503d00026_row02060e7f45714a6789ee117118567c70_col4f7c9aba133d4634803062b891c29870 struct-prop-table-col_width_percentage_24" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><span class="author-240083983"><strong>操作</strong></span></div>
        </div>
      </td>

      <td data-node-type="structure" data-table-cell="struct-tableba8d2a471c72486da3b35dd503d00026_row02060e7f45714a6789ee117118567c70_coledbe9a12fba5451e97fb41ebffa640e1">
        <div id="magicdomid156" class="ace-line struct-tableba8d2a471c72486da3b35dd503d00026_row02060e7f45714a6789ee117118567c70_coledbe9a12fba5451e97fb41ebffa640e1 struct-prop-table-col_width_percentage_27" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><span class="author-240083983"><strong>API URLエンドポイント</strong></span></div>
        </div>

        <div id="magicdomid157" class="ace-line struct-tableba8d2a471c72486da3b35dd503d00026_row02060e7f45714a6789ee117118567c70_coledbe9a12fba5451e97fb41ebffa640e1 struct-prop-table-col_width_percentage_27" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><span class="author-240083983 font-color-000000 font-size-small i"><em>(ドキュメントへのリンク)</em></span></div>
        </div>
      </td>

      <td data-node-type="structure" data-table-cell="struct-tableba8d2a471c72486da3b35dd503d00026_row02060e7f45714a6789ee117118567c70_col399e9070abdd43fa86468167fe519e7a">
        <div id="magicdomid158" class="ace-line struct-tableba8d2a471c72486da3b35dd503d00026_row02060e7f45714a6789ee117118567c70_col399e9070abdd43fa86468167fe519e7a struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><span class="author-240083983"><strong>補足</strong></span></div>
        </div>
      </td>
    </tr>

    <tr data-node-type="structure">
      <td data-node-type="structure" data-table-cell="struct-tableba8d2a471c72486da3b35dd503d00026_rowd6ee66ae78f14637ba0758cd3f9c63f9_col5a93d6984d5848e697b9a135b9b41a45">
        <div id="magicdomid159" class="ace-line struct-tableba8d2a471c72486da3b35dd503d00026_rowd6ee66ae78f14637ba0758cd3f9c63f9_col5a93d6984d5848e697b9a135b9b41a45 struct-prop-table-col_width_percentage_5" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><span class="author-240083983">1.</span></div>
        </div>
      </td>

      <td data-node-type="structure" data-table-cell="struct-tableba8d2a471c72486da3b35dd503d00026_rowd6ee66ae78f14637ba0758cd3f9c63f9_col4f7c9aba133d4634803062b891c29870">
        <div id="magicdomid160" class="ace-line struct-tableba8d2a471c72486da3b35dd503d00026_rowd6ee66ae78f14637ba0758cd3f9c63f9_col4f7c9aba133d4634803062b891c29870 struct-prop-table-col_width_percentage_24" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><span class="author-240083983">ユーザーを削除する</span></div>
        </div>
      </td>

      <td data-node-type="structure" data-table-cell="struct-tableba8d2a471c72486da3b35dd503d00026_rowd6ee66ae78f14637ba0758cd3f9c63f9_coledbe9a12fba5451e97fb41ebffa640e1">
        <div id="magicdomid161" class="ace-line struct-tableba8d2a471c72486da3b35dd503d00026_rowd6ee66ae78f14637ba0758cd3f9c63f9_coledbe9a12fba5451e97fb41ebffa640e1 struct-prop-table-col_width_percentage_27" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><a href="https://ja.developer.box.com/reference/delete-users-id/"><span class="author-240083983 font-color-000000 font-size-medium link-MTQ3MTYyNjI1MjQ2OS1odHRwczovL2RvY3MuYm94LmNvbS9yZWZlcmVuY2UjZGVsZXRlLWFuLWVudGVycHJpc2UtdXNlcg==">DELETE</span></a></div>
        </div>

        <div id="magicdomid162" class="ace-line struct-tableba8d2a471c72486da3b35dd503d00026_rowd6ee66ae78f14637ba0758cd3f9c63f9_coledbe9a12fba5451e97fb41ebffa640e1 struct-prop-table-col_width_percentage_27" data-node-type="line">
          <div class="align-center author-240083983 link-MTQ3MTYyNjI1MjQ2OS1odHRwczovL2RvY3MuYm94LmNvbS9yZWZlcmVuY2UjZGVsZXRlLWFuLWVudGVycHJpc2UtdXNlcg== lineAttribMarker"><a href="https://ja.developer.box.com/reference/delete-users-id/"><span class="author-240083983 link-MTQ3MTYyNjI1MjQ2OS1odHRwczovL2RvY3MuYm94LmNvbS9yZWZlcmVuY2UjZGVsZXRlLWFuLWVudGVycHJpc2UtdXNlcg==">/users</span><span class="author-240083983 font-color-000000 font-size-medium link-MTQ3MTYyNjI1MjQ2OS1odHRwczovL2RvY3MuYm94LmNvbS9yZWZlcmVuY2UjZGVsZXRlLWFuLWVudGVycHJpc2UtdXNlcg==">/</span><span class="author-240083983 b font-color-000000 font-size-medium link-MTQ3MTYyNjI1MjQ2OS1odHRwczovL2RvY3MuYm94LmNvbS9yZWZlcmVuY2UjZGVsZXRlLWFuLWVudGVycHJpc2UtdXNlcg=="><strong>\{USER\_ID}</strong></span></a></div>
        </div>
      </td>

      <td data-node-type="structure" data-table-cell="struct-tableba8d2a471c72486da3b35dd503d00026_rowd6ee66ae78f14637ba0758cd3f9c63f9_col399e9070abdd43fa86468167fe519e7a">
        <div id="magicdomid163" class="ace-line struct-tableba8d2a471c72486da3b35dd503d00026_rowd6ee66ae78f14637ba0758cd3f9c63f9_col399e9070abdd43fa86468167fe519e7a struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-left author-240083983 lineAttribMarker">
            <span class="author-240083983">リクエスト</span><span class="author-240083983"><strong>ボディ</strong></span><span class="author-240083983">パラメータ:</span>
          </div>
        </div>

        <div id="magicdomid164" class="ace-line struct-tableba8d2a471c72486da3b35dd503d00026_rowd6ee66ae78f14637ba0758cd3f9c63f9_col399e9070abdd43fa86468167fe519e7a struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-left author-240083983 list:bullet2 lineAttribMarker">
            <ul class="list-bullet2">
              <li class=""><span class="author-240083983">notify: true/false</span></li>
            </ul>
          </div>
        </div>

        <div id="magicdomid165" class="ace-line struct-tableba8d2a471c72486da3b35dd503d00026_rowd6ee66ae78f14637ba0758cd3f9c63f9_col399e9070abdd43fa86468167fe519e7a struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-left author-240083983 list:bullet3 lineAttribMarker">
            <ul class="list-bullet3">
              <li class=""><span class="author-240083983">アカウントの削除についてユーザーにメールで通知するかどうかを指定します。</span></li>
            </ul>
          </div>
        </div>

        <div id="magicdomid166" class="ace-line struct-tableba8d2a471c72486da3b35dd503d00026_rowd6ee66ae78f14637ba0758cd3f9c63f9_col399e9070abdd43fa86468167fe519e7a struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-left author-240083983 list:bullet2 lineAttribMarker">
            <ul class="list-bullet2">
              <li class=""><span class="author-240083983">force: true</span></li>
            </ul>
          </div>
        </div>

        <div id="magicdomid167" class="ace-line struct-tableba8d2a471c72486da3b35dd503d00026_rowd6ee66ae78f14637ba0758cd3f9c63f9_col399e9070abdd43fa86468167fe519e7a struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-left author-240083983 list:bullet3 lineAttribMarker">
            <ul class="list-bullet3">
              <li class=""><span class="author-240083983">ユーザーがまだコンテンツを所有していても削除するかどうかを指定します。</span></li>
            </ul>
          </div>
        </div>

        <div id="magicdomid168" class="ace-line struct-tableba8d2a471c72486da3b35dd503d00026_rowd6ee66ae78f14637ba0758cd3f9c63f9_col399e9070abdd43fa86468167fe519e7a struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-left author-240083983 lineAttribMarker"><span class="author-240083983">応答:</span></div>
        </div>

        <div id="magicdomid169" class="ace-line struct-tableba8d2a471c72486da3b35dd503d00026_rowd6ee66ae78f14637ba0758cd3f9c63f9_col399e9070abdd43fa86468167fe519e7a struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-left author-240083983 list:bullet2 lineAttribMarker">
            <ul class="list-bullet2">
              <li class="">
                <span class="author-240083983">ステータスコード: 20</span><span class="author-240083983">4</span><span class="author-240083983">。 ユーザーが</span><span class="author-240083983">正常に削除されたことを示します。</span>
              </li>
            </ul>
          </div>
        </div>
      </td>
    </tr>
  </tbody>

  <tfoot class="unselectable-structure-node table-col-resize-dragger-container disableSelectable" contenteditable="false" data-node-type="structure" />
</table>

**または**

<table class="resizable" draggable="false" data-struct-id="table715f34d750f64774b280399c87303cf6" data-node-type="structure">
  <tbody>
    <tr data-node-type="structure">
      <td data-node-type="structure" data-table-cell="struct-table715f34d750f64774b280399c87303cf6_rowcdd0f1c433614987b1e6a08115dad5da_colb402abd8f1ca469a80d5b6075eb6ee7c"> </td>

      <td data-node-type="structure" data-table-cell="struct-table715f34d750f64774b280399c87303cf6_rowcdd0f1c433614987b1e6a08115dad5da_coleb0bb4846ad1410ba0cb38f13501e5ef">
        <div id="magicdomid172" class="ace-line struct-table715f34d750f64774b280399c87303cf6_rowcdd0f1c433614987b1e6a08115dad5da_coleb0bb4846ad1410ba0cb38f13501e5ef struct-prop-table-col_width_percentage_24" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><span class="author-240083983"><strong>操作</strong></span></div>
        </div>
      </td>

      <td data-node-type="structure" data-table-cell="struct-table715f34d750f64774b280399c87303cf6_rowcdd0f1c433614987b1e6a08115dad5da_col25dba3edd9234d32a795f84b8769d646">
        <div id="magicdomid173" class="ace-line struct-table715f34d750f64774b280399c87303cf6_rowcdd0f1c433614987b1e6a08115dad5da_col25dba3edd9234d32a795f84b8769d646 struct-prop-table-col_width_percentage_27" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><span class="author-240083983"><strong>API URLエンドポイント</strong></span></div>
        </div>

        <div id="magicdomid174" class="ace-line struct-table715f34d750f64774b280399c87303cf6_rowcdd0f1c433614987b1e6a08115dad5da_col25dba3edd9234d32a795f84b8769d646 struct-prop-table-col_width_percentage_27" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><span class="author-240083983 font-color-000000 font-size-small i"><em>(ドキュメントへのリンク)</em></span></div>
        </div>
      </td>

      <td data-node-type="structure" data-table-cell="struct-table715f34d750f64774b280399c87303cf6_rowcdd0f1c433614987b1e6a08115dad5da_col9650a016d5734fed87320522da891d41">
        <div id="magicdomid175" class="ace-line struct-table715f34d750f64774b280399c87303cf6_rowcdd0f1c433614987b1e6a08115dad5da_col9650a016d5734fed87320522da891d41 struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><span class="author-240083983"><strong>補足</strong></span></div>
        </div>
      </td>
    </tr>

    <tr data-node-type="structure">
      <td data-node-type="structure" data-table-cell="struct-table715f34d750f64774b280399c87303cf6_row33863542bf474cbead786c1a4fa85c67_colb402abd8f1ca469a80d5b6075eb6ee7c">
        <div id="magicdomid176" class="ace-line struct-table715f34d750f64774b280399c87303cf6_row33863542bf474cbead786c1a4fa85c67_colb402abd8f1ca469a80d5b6075eb6ee7c struct-prop-table-col_width_percentage_5" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><span class="author-240083983">1.</span></div>
        </div>
      </td>

      <td data-node-type="structure" data-table-cell="struct-table715f34d750f64774b280399c87303cf6_row33863542bf474cbead786c1a4fa85c67_coleb0bb4846ad1410ba0cb38f13501e5ef">
        <div id="magicdomid177" class="ace-line struct-table715f34d750f64774b280399c87303cf6_row33863542bf474cbead786c1a4fa85c67_coleb0bb4846ad1410ba0cb38f13501e5ef struct-prop-table-col_width_percentage_24" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><span class="author-240083983">ユーザーを「Lite」(無料) アカウントにダウングレードする</span></div>
        </div>
      </td>

      <td data-node-type="structure" data-table-cell="struct-table715f34d750f64774b280399c87303cf6_row33863542bf474cbead786c1a4fa85c67_col25dba3edd9234d32a795f84b8769d646">
        <div id="magicdomid178" class="ace-line struct-table715f34d750f64774b280399c87303cf6_row33863542bf474cbead786c1a4fa85c67_col25dba3edd9234d32a795f84b8769d646 struct-prop-table-col_width_percentage_27" data-node-type="line">
          <div class="align-center author-240083983 lineAttribMarker"><a href="https://ja.developer.box.com/reference/put-users-id/"><span class="author-240083983 font-color-000000 font-size-medium link-MTQ3NTIwMDAzMzQyMS1odHRwczovL2RvY3MuYm94LmNvbS9yZWZlcmVuY2UjdXBkYXRlLWEtdXNlcnMtaW5mb3JtYXRpb24=">PUT</span></a></div>
        </div>

        <div id="magicdomid179" class="ace-line struct-table715f34d750f64774b280399c87303cf6_row33863542bf474cbead786c1a4fa85c67_col25dba3edd9234d32a795f84b8769d646 struct-prop-table-col_width_percentage_27" data-node-type="line">
          <div class="align-center author-240083983 link-MTQ3NTIwMDAzMzQyMS1odHRwczovL2RvY3MuYm94LmNvbS9yZWZlcmVuY2UjdXBkYXRlLWEtdXNlcnMtaW5mb3JtYXRpb24= lineAttribMarker"><a href="https://ja.developer.box.com/reference/put-users-id/"><span class="author-240083983 font-color-000000 font-size-medium link-MTQ3NTIwMDAzMzQyMS1odHRwczovL2RvY3MuYm94LmNvbS9yZWZlcmVuY2UjdXBkYXRlLWEtdXNlcnMtaW5mb3JtYXRpb24=">/users/</span><span class="author-240083983 b font-color-000000 font-size-medium link-MTQ3NTIwMDAzMzQyMS1odHRwczovL2RvY3MuYm94LmNvbS9yZWZlcmVuY2UjdXBkYXRlLWEtdXNlcnMtaW5mb3JtYXRpb24="><strong>\{USER\_ID}</strong></span></a></div>
        </div>
      </td>

      <td data-node-type="structure" data-table-cell="struct-table715f34d750f64774b280399c87303cf6_row33863542bf474cbead786c1a4fa85c67_col9650a016d5734fed87320522da891d41">
        <div id="magicdomid180" class="ace-line struct-table715f34d750f64774b280399c87303cf6_row33863542bf474cbead786c1a4fa85c67_col9650a016d5734fed87320522da891d41 struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-left author-240083983 lineAttribMarker">
            <span class="author-240083983">リクエスト</span><span class="author-240083983"><strong>ボディ</strong></span><span class="author-240083983">パラメータ:</span>
          </div>
        </div>

        <ul class="list-bullet2">
          <ul class="list-bullet2">
            <li class="list-bullet2"><span class="author-240083983">enterprise: null</span></li>

            <ul class="list-bullet3">
              <li class="list-bullet3"><span class="author-240083983">ユーザーのアカウントをBox Enterprise外に移します。</span></li>
            </ul>
          </ul>
        </ul>

        <div id="magicdomid183" class="ace-line struct-table715f34d750f64774b280399c87303cf6_row33863542bf474cbead786c1a4fa85c67_col9650a016d5734fed87320522da891d41 struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-left author-240083983 lineAttribMarker"><span class="author-240083983">応答:</span></div>
        </div>

        <div id="magicdomid184" class="ace-line struct-table715f34d750f64774b280399c87303cf6_row33863542bf474cbead786c1a4fa85c67_col9650a016d5734fed87320522da891d41 struct-prop-table-col_width_percentage_44" data-node-type="line">
          <div class="align-left author-240083983 list:bullet2 lineAttribMarker">
            <ul class="list-bullet2">
              <li class="">
                <span class="author-240083983">
                  ステータスコード: 20
                </span>

                <span class="author-240083983">
                  0
                </span>

                <span class="author-240083983">
                  。
                </span>

                <span class="author-240083983">
                  ユーザーが正常にダウングレードされたことを示します。
                </span>

                <span class="author-240083983" />

                <ul class="list-bullet2">
                  <li class="">
                    <span class="author-240083983">
                      注: リテンションポリシーまたはリーガルホールドポリシーがある場合、ダウングレードすることはできません
                    </span>
                  </li>
                </ul>
              </li>
            </ul>
          </div>
        </div>
      </td>
    </tr>
  </tbody>

  <tfoot class="unselectable-structure-node table-col-resize-dragger-container disableSelectable" contenteditable="false" data-node-type="structure" />
</table>

## **その他の考慮事項**

* スクリプトの実行対象となるユーザーを判断する手段が必要です。

* 特定の操作でスクリプトを開始しますか?  それとも、スクリプトを定期的に実行して、非アクティブ化の対象となるActive Directory内のユーザーを確認しますか?

* スクリプトを実行するユーザーのログイン情報 (メールアドレス) を取得する手段か、そのユーザーのBoxユーザーIDが必要です。
