Codebeispiele für die Chrome Management Third Party Profile Users API
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Eine Übersicht über die API-Funktionen finden Sie unter Chrome Management Third Party Profile Users API.
Für alle auf dieser Seite gezeigten Anfragen werden die folgenden Variablen verwendet:
$TOKEN
– OAuth 2.0-Token
$CUSTOMER
– ID des Kunden oder Literal my_customer
Nutzer mit Drittanbieterprofil verschieben
Verwenden Sie den Endpunkt /thirdPartyProfileUsers/<third_party_profile_user_id>:move
, um einen Nutzer eines Drittanbieterprofils zu verschieben.
Anfrage
curl -H "Authorization: Bearer $TOKEN" \
--json '{"destinationOrgUnit": "org_unit_id"}' \
"https://chromemanagement.googleapis.com/v1/customers/$CUSTOMER/thirdPartyProfileUsers/<third_party_profile_user_id>:move"
Antwort
{
"name": "customers/<customerId>/thirdPartyProfileUsers/<third_party_profile_user_id>",
"orgUnitId": "org_unit_id"
}
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-08-25 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-08-25 (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 }"]]