Chrome Management Third Party Profile Users API의 코드 샘플

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"
}