Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Cloud Identity Devices Lookup endpoint giving PERMISSION_DENIED

Hi,

I would like to use the `https://cloudidentity.googleapis.com/v1/devices/-/deviceUsers:lookup`  endpoint to request the caller deviceID's.

I've tried using an oauth2-token (with scope `
https://www.googleapis.com/auth/cloud-identity.devices.lookup` ), with an API key (added as queryParameter) and even both at the same time.

The full call I do is https://cloudidentity.googleapis.com/v1/devices/-/deviceUsers:lookup?userId=me with the Bearer token in the headers.

I keep getting the PERMISSION_DENIED with 'the caller does not have permission`

Note: I am the owner of my tenant

1 0 231
0 REPLIES 0
Top Labels in this Space
Top Solution Authors