---
title: "Remove a license from a device"
method: DELETE
path: "/v1/devices/{enrollmentCode}/license"
tags: ["devices"]
---

# Remove a license from a device

`DELETE /v1/devices/{enrollmentCode}/license`

Remove the license from a device. The device's protection status is set to UNLICENSED.

## Path parameters

- `enrollmentCode` string, required

## Headers

- `Workspace` string, required

## Response `200`

Success

## Other responses

- `400` — Bad request, validation error
- `401` — Unauthorized request
- `403` — Access forbidden
- `429` — Too Many Requests
- `500` — Internal server error

---

[API](https://skmtc.dev/coro/apis/coro-cybersecurity-public-api.md) · [All operations](https://skmtc.dev/coro/apis/coro-cybersecurity-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/coro/coro-cybersecurity-public-api/revisions/b635522b2393/schema)
