如要瞭解 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"
}