Required. Resource name of the Device in format: devices/{deviceId}/deviceUsers/{device_user_id}, where deviceId is the unique ID assigned to the Device, and device_user_id is the unique ID assigned to the User.
Request body
The request body contains data with the following structure:
JSON representation
{"customer": string}
Fields
customer
string
Optional. Resource name of the customer. If you're using this API for your own organization, use customers/my_customer If you're using this API to manage another organization, use customers/{customerId}, where customerId is the customer to whom the device belongs.
Response body
If successful, the response body contains an instance of Operation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eThis endpoint approves a device to access user data using a POST request to the specified URL.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003ename\u003c/code\u003e parameter in the URL path, formatted as \u003ccode\u003edevices/{deviceId}/deviceUsers/{device_user_id}\u003c/code\u003e, identifying the specific device and user.\u003c/p\u003e\n"],["\u003cp\u003eThe request body includes an optional \u003ccode\u003ecustomer\u003c/code\u003e field, allowing specification of the customer's resource name.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful requests return an \u003ccode\u003eOperation\u003c/code\u003e instance in the response body, indicating the outcome of the approval.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this endpoint requires either the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-identity.devices\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-identity\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,[]]