---
title: "Delete legal value for the context field"
method: DELETE
path: "/api/admin/context/{contextField}/legal-values/{legalValue}"
tags: ["Context"]
---

# Delete legal value for the context field

`DELETE /api/admin/context/{contextField}/legal-values/{legalValue}`

Removes the specified custom context field legal value. Does not validate that the legal value is not in use and does not remove usage from constraints that use it.

## Path parameters

- `contextField` string, required
- `legalValue` string, required

## Response `200`

This response has no body.

---

[API](https://skmtc.net/unleash/apis/unleash-api-3.md) · [All operations](https://skmtc.net/unleash/apis/unleash-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unleash/unleash-api-3/revisions/b2c3116e633e/schema)
