---
title: "Delete a preheat policy"
method: DELETE
path: "/projects/{project_name}/preheat/policies/{preheat_policy_name}"
tags: ["preheat"]
---

# Delete a preheat policy

`DELETE /projects/{project_name}/preheat/policies/{preheat_policy_name}`

## Request

- Base URL: `http://localhost/api/v2.0`
- URL: `http://localhost/api/v2.0/projects/{project_name}/preheat/policies/{preheat_policy_name}`
- Auth: one of:
  - HTTP basic
  - none

Delete a preheat policy

## Path parameters

- `project_name` string, required
- `preheat_policy_name` string, required

## Headers

- `X-Request-Id` string

## Response `200`

Success

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `500`: Internal server error

---

[API](https://skmtc.dev/cerit/apis/harbor-api.md) - [All operations](https://skmtc.dev/cerit/apis/harbor-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cerit/apis/harbor-api/revisions/62d78801f8df?raw)
