---
title: "Deletes an enrollment token for a given enterprise and token id"
method: DELETE
path: "/api/v2/google-emm/enterprises/{enterpriseId}/enrollment-tokens/{tokenId}"
tags: ["Google EMM"]
---

# Deletes an enrollment token for a given enterprise and token id

`DELETE /api/v2/google-emm/enterprises/{enterpriseId}/enrollment-tokens/{tokenId}`

## Request

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

Removes an Enrollment token for a given enterprise and token id.

#### Sample Request
```
curl -X DELETE https://console.jumpcloud.com/api/v2/enterprises/{enterprise_id}/enrollment-tokens/{token_id} \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -H "x-api-key: {API_KEY}"
```

## Path parameters

- `enterpriseId` string, byte, required
- `tokenId` string, required

## Response `200`

A successful response.

- JumpcloudGoogleEmmDeleteEnrollmentTokenResponse
  - `name` string

---

[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)
