---
title: "Delete a field for a given app and named field."
method: DELETE
path: "/app/{app_id}/license-field/{license_field_name}"
tags: ["apps"]
---

# Delete a field for a given app and named field.

`DELETE /app/{app_id}/license-field/{license_field_name}`

## Request

- Base URL: `https://api.replicated.com/vendor/v3`
- URL: `https://api.replicated.com/vendor/v3/app/{app_id}/license-field/{license_field_name}`
- Auth: API key in header `Authorization`

Required RBAC Policy: kots/app/[:appid]/licensefields/delete

## Path parameters

- `app_id` string, required
- `license_field_name` string, required

## Query parameters

- `preserve_fields` boolean

## Response `200`

DeleteLicenseFieldResponse contains the response from deleting a license field

## Other responses

- `400`: Returned on bad input
- `401`: Return if the caller is not authorized
- `403`: Returned if the caller does not have the needed permission
- `404`: Returned on resource not found

---

[API](https://skmtc.dev/replicated/apis/vendor-api-v3-2.md) - [All operations](https://skmtc.dev/replicated/apis/vendor-api-v3-2/llms.txt) - [OpenAPI document](https://skmtc.dev/replicated/apis/vendor-api-v3-2/revisions/a36c6aead22f?raw)
