---
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}`

## Request

- Base URL: `https://app.unleash-instance.example.com`
- URL: `https://app.unleash-instance.example.com/api/admin/context/{contextField}/legal-values/{legalValue}`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer

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.dev/unleash/apis/unleash-api-3.md) - [All operations](https://skmtc.dev/unleash/apis/unleash-api-3/llms.txt) - [OpenAPI document](https://skmtc.dev/unleash/apis/unleash-api-3/revisions/b2c3116e633e?raw)
