---
title: "Remove Certificate"
method: DELETE
path: "/pullzone/{id}/removeCertificate"
tags: ["Pull Zone"]
---

# Remove Certificate

`DELETE /pullzone/{id}/removeCertificate`

## Request

- Base URL: `https://api.bunny.net`
- URL: `https://api.bunny.net/pullzone/{id}/removeCertificate`
- Auth: API key in header `AccessKey`
- TypeScript: <https://skmtc.dev/bunny/apis/bunny-net-api/docs/pullzone/:id/removeCertificate/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` integer, required

## Request body

- RemoveCertificateRequestModel
  - `Hostname` string, required: The hostname from which the certificate will be removed

## Response `204`

The certificate was successfully removed

## Other responses

- `400`: Failed removing certificate
- `401`: The request authorization failed
- `404`: The Pull Zone with the requested ID was not found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/bunny/apis/bunny-net-api.md) - [All operations](https://skmtc.dev/bunny/apis/bunny-net-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bunny/apis/bunny-net-api/revisions/2b06f94dbfbf?raw)
