במאמר Chrome Management Third Party Profile Users API מופיעה סקירה כללית של תכונות ה-API.
כל הבקשות שמוצגות בדף הזה משתמשות במשתנים הבאים:
-
$TOKEN– טוקן OAuth 2.0 -
$CUSTOMER- ID of the customer or literalmy_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"
}