---
title: "Update the Google account details of the EMM enrollment stored in the database for a specific device."
method: PUT
path: "/v2/devices/{deviceId}/google-accounts/"
tags: ["device_Device Enrollment in EMM"]
---

# Update the Google account details of the EMM enrollment stored in the database for a specific device.

`PUT /v2/devices/{deviceId}/google-accounts/`

## Path parameters

- `deviceId` string, uuid, required

## Request body

- DeviceGoogleAccountUpdateRequestBody
  - `google_device_id` string, required — Unique identifier for the Google device.
  - `google_user_id` string, required — Unique identifier for the Google user.

## Response `200`

Successfully updated the Google account details.

- object
  - `content` DeviceGoogleAccountUpdateResponseBody
    - `device_id` string, required — Unique identifier for the device.
    - `tenant_id` string, required — Unique identifier for the tenant.

## Other responses

- `400` — Bad request due to invalid input.
- `401` — Unauthorized access.
- `404` — Device not found for the provided deviceId.
- `500` — Internal server error occurred while processing the request.

---

[API](https://skmtc.net/esper/apis/esper-api-reference.md) · [All operations](https://skmtc.net/esper/apis/esper-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/esper/esper-api-reference/versions/e1f64cbb488e/schema)
