نماذج الرموز البرمجية لواجهة برمجة التطبيقات Chrome Management Third Party Profile Users API

يمكنك الانتقال إلى Chrome Management Third Party Profile Users API للحصول على نظرة عامة على ميزات واجهة برمجة التطبيقات.

تستخدم جميع الطلبات المعروضة في هذه الصفحة المتغيّرات التالية:

  • $TOKEN - رمز OAuth 2.0 المميز
  • $CUSTOMER - معرّف العميل أو القيمة الحرفية 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"
}