# Method: customers.enrollmentTokens.create

- [HTTP request](https://developers.google.com/chrome/management/reference/rest/v1/customers.enrollmentTokens/create.md.txt#body.HTTP_TEMPLATE)
- [Path parameters](https://developers.google.com/chrome/management/reference/rest/v1/customers.enrollmentTokens/create.md.txt#body.PATH_PARAMETERS)
- [Query parameters](https://developers.google.com/chrome/management/reference/rest/v1/customers.enrollmentTokens/create.md.txt#body.QUERY_PARAMETERS)
- [Request body](https://developers.google.com/chrome/management/reference/rest/v1/customers.enrollmentTokens/create.md.txt#body.request_body)
- [Response body](https://developers.google.com/chrome/management/reference/rest/v1/customers.enrollmentTokens/create.md.txt#body.response_body)
- [Authorization scopes](https://developers.google.com/chrome/management/reference/rest/v1/customers.enrollmentTokens/create.md.txt#body.aspect)
- [Try it!](https://developers.google.com/chrome/management/reference/rest/v1/customers.enrollmentTokens/create.md.txt#try-it)

Creates a new enrollment token for a browser device. Creation fails if there is already an active token for this customer under the same org unit.

### HTTP request

`POST https://chromemanagement.googleapis.com/v1/{parent=customers/*}/enrollmentTokens`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. The parent resource where this enrollment token will be created. Format: customers/{customer} |

### Query parameters

| Parameters ||
|---|---|
| `enrollmentTokenId` | `string` Optional. The ID to use for the enrollment token, which will become the final component of the enrollment token's resource name. This value must be local-unique under the customer and is optional. If not provided, it will be auto-generated. If provided, it must be 1-63 characters long and match the regular expression `[a-zA-Z0-9._-]+`. |

### Request body

The request body contains an instance of `EnrollmentToken`.

### Response body

If successful, the response body contains a newly created instance of `EnrollmentToken`.

### Authorization scopes

Requires the following OAuth scope:

- `https://www.googleapis.com/auth/chrome.management.enrollmenttokens`