---
title: "Update a Google Enterprise"
method: PATCH
path: "/api/v2/google-emm/enterprises/{enterpriseId}"
tags: ["Google EMM"]
---

# Update a Google Enterprise

`PATCH /api/v2/google-emm/enterprises/{enterpriseId}`

## Request

- Base URL: `https://console.jumpcloud.com`
- URL: `https://console.jumpcloud.com/api/v2/google-emm/enterprises/{enterpriseId}`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/docs/api/v2/google-emm/enterprises/:enterpriseId/patch.ts> (a function with typed inputs; its response is checked against the schema)

Updates a Google EMM enterprise details.

#### Sample Request

```
curl -X PATCH https://console.jumpcloud.com/api/v2/google-emm/enterprises \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -H "x-api-key: ${API_KEY}"
  -d '{"allowDeviceEnrollment": true, "deviceGroupId": "string"}'
```

## Path parameters

- `enterpriseId` string, byte, required

## Request body

- object
  - `allowDeviceEnrollment` boolean
  - `deviceGroupId` string, byte

## Response `200`

A successful response.

- JumpcloudGoogleEmmEnterprise
  - `allowDeviceEnrollment` boolean
  - `contactEmail` string: not logging because it contains PII non-sensitive information.
  - `createdAt` string, date-time
  - `deviceGroupId` string, byte
  - `displayName` string
  - `enterpriseType` 'ENTERPRISE_TYPE_UNSPECIFIED' | 'MANAGED_GOOGLE_PLAY_ACCOUNTS_ENTERPRISE' | 'MANAGED_GOOGLE_DOMAIN'
  - `googleAuthenticationRequired` 'GOOGLE_AUTHENTICATION_REQUIRED_UNSPECIFIED' | 'NOT_REQUIRED' | 'REQUIRED'
  - `name` string
  - `objectId` string, byte
  - `organizationObjectId` string, byte

---

[API](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/revisions/f396d9271b46?raw)
