Code Samples for the Chrome Management Third Party Profile Users API
Stay organized with collections
Save and categorize content based on your preferences.
Visit
Chrome Management Third Party Profile Users API
for an overview of API features.
All the requests shown in this page use the following variables:
$TOKEN
- OAuth 2.0 token
$CUSTOMER
- ID of the customer or literal my_customer
Move a Third Party Profile User
To move a third party profile user, use the
/thirdPartyProfileUsers/<third_party_profile_user_id>:move
endpoint.
Request
curl -H "Authorization: Bearer $TOKEN" \
--json '{"destinationOrgUnit": "org_unit_id"}' \
"https://chromemanagement.googleapis.com/v1/customers/$CUSTOMER/thirdPartyProfileUsers/<third_party_profile_user_id>:move"
Response
{
"name": "customers/<customerId>/thirdPartyProfileUsers/<third_party_profile_user_id>",
"orgUnitId": "org_unit_id"
}
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-11 UTC.
[null,null,["Last updated 2025-08-11 UTC."],[],[],null,["# Code Samples for the Chrome Management Third Party Profile Users API\n\nVisit\n[Chrome Management Third Party Profile Users API](/chrome/management/guides/thirdpartyprofileusers_api)\nfor an overview of API features.\n\nAll the requests shown in this page use the following variables:\n\n- `$TOKEN` - OAuth 2.0 token\n- `$CUSTOMER` - ID of the customer or literal `my_customer`\n\nMove a Third Party Profile User\n-------------------------------\n\nTo move a third party profile user, use the\n`/thirdPartyProfileUsers/\u003cthird_party_profile_user_id\u003e:move` endpoint.\n\n#### Request\n\n curl -H \"Authorization: Bearer $TOKEN\" \\\n --json '{\"destinationOrgUnit\": \"org_unit_id\"}' \\\n \"https://chromemanagement.googleapis.com/v1/customers/$CUSTOMER/thirdPartyProfileUsers/\u003cthird_party_profile_user_id\u003e:move\"\n\n#### Response\n\n {\n \"name\": \"customers/\u003ccustomerId\u003e/thirdPartyProfileUsers/\u003cthird_party_profile_user_id\u003e\",\n \"orgUnitId\": \"org_unit_id\"\n }"]]