Więcej informacji o funkcjach interfejsu API znajdziesz na stronie Chrome Management Third Party Profile Users API.
Wszystkie żądania widoczne na tej stronie korzystają z tych zmiennych:
- $TOKEN– token OAuth 2.0
- $CUSTOMER– identyfikator klienta lub literał- my_customer
Przenoszenie użytkownika profilu zewnętrznego
Aby przenieść użytkownika profilu zewnętrznego, użyj punktu końcowego /thirdPartyProfileUsers/<third_party_profile_user_id>:move.
Żądanie
curl -H "Authorization: Bearer $TOKEN" \
--json '{"destinationOrgUnit": "org_unit_id"}' \
  "https://chromemanagement.googleapis.com/v1/customers/$CUSTOMER/thirdPartyProfileUsers/<third_party_profile_user_id>:move"
Odpowiedź
{
  "name": "customers/<customerId>/thirdPartyProfileUsers/<third_party_profile_user_id>",
  "orgUnitId": "org_unit_id"
}
