API 機能の概要については、Chrome Management Third Party Profile Users API をご覧ください。
このページに示されているリクエストでは、次の変数を使用します。
$TOKEN- OAuth 2.0 トークン$CUSTOMER- 顧客の ID またはリテラルmy_customer
サードパーティ プロファイル ユーザーを移動する
サードパーティ プロファイル ユーザーを移動するには、/thirdPartyProfileUsers/<third_party_profile_user_id>:move エンドポイントを使用します。
リクエスト
curl -H "Authorization: Bearer $TOKEN" \
--json '{"destinationOrgUnit": "org_unit_id"}' \
"https://chromemanagement.googleapis.com/v1/customers/$CUSTOMER/thirdPartyProfileUsers/<third_party_profile_user_id>:move"
レスポンス
{
"name": "customers/<customerId>/thirdPartyProfileUsers/<third_party_profile_user_id>",
"orgUnitId": "org_unit_id"
}