# Cloudflare Custom Hostname for a Zone API

**Canonical:** https://apis.io/apis/cloudflare/cloudflare-custom-hostname-for-a-zone-api/  
**Provider:** Cloudflare — https://apis.io/providers/cloudflare/  
**Base URL:** https://api.cloudflare.com  
**Documentation:** https://developers.cloudflare.com/load-balancing/

Cloudflare Custom Hostname for a Zone API is one of 650 APIs that [Cloudflare](https://apis.io/providers/cloudflare/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Custom Hostname for a Zone. The published artifact set on APIs.io includes an OpenAPI specification.

The Custom Hostname for a Zone API from Cloudflare — 4 operation(s) for custom hostname for a zone.

## Operations (8)

| Method | Path | Summary |
|---|---|---|
| GET | `/zones/{zone_id}/custom_hostnames` | List Custom Hostnames |
| POST | `/zones/{zone_id}/custom_hostnames` | Create Custom Hostname |
| GET | `/zones/{zone_id}/custom_hostnames/quota` | Get Custom Hostname Quota |
| DELETE | `/zones/{zone_id}/custom_hostnames/{custom_hostname_id}` | Delete Custom Hostname (and any issued SSL certificates) |
| GET | `/zones/{zone_id}/custom_hostnames/{custom_hostname_id}` | Custom Hostname Details |
| PATCH | `/zones/{zone_id}/custom_hostnames/{custom_hostname_id}` | Edit Custom Hostname |
| DELETE | `/zones/{zone_id}/custom_hostnames/{custom_hostname_id}/certificate_pack/{certificate_pack_id}/certificates/{certificate_id}` | Delete Single Certificate And Key For Custom Hostname |
| PUT | `/zones/{zone_id}/custom_hostnames/{custom_hostname_id}/certificate_pack/{certificate_pack_id}/certificates/{certificate_id}` | Replace Custom Certificate and Custom Key In Custom Hostname |

## Machine-readable artifacts (1)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/cloudflare/refs/heads/main/openapi/cloudflare-custom-hostname-for-a-zone-api-openapi.yml

## Other Cloudflare APIs (12)

- [Cloudflare Load Balancing API](https://apis.io/apis/cloudflare/cloudflare-load-balancing-api/)
- [Cloudflare WAF API](https://apis.io/apis/cloudflare/cloudflare-waf-api/)
- [Cloudflare GraphQL Analytics API](https://apis.io/apis/cloudflare/cloudflare-graphql-analytics-api/)
- [Cloudflare Magic Transit API](https://apis.io/apis/cloudflare/cloudflare-magic-transit-api/)
- [Cloudflare Email Routing API](https://apis.io/apis/cloudflare/cloudflare-email-routing-api/)
- [Cloudflare Waiting Room API](https://apis.io/apis/cloudflare/cloudflare-waiting-room-api/)
- [Cloudflare Spectrum API](https://apis.io/apis/cloudflare/cloudflare-spectrum-api/)
- [Cloudflare API Shield API](https://apis.io/apis/cloudflare/cloudflare-api-shield-api/)
- [Cloudflare Zero Trust API](https://apis.io/apis/cloudflare/cloudflare-zero-trust-api/)
- [Cloudflare Registrar API](https://apis.io/apis/cloudflare/cloudflare-registrar-api/)
- [Cloudflare Workflows API](https://apis.io/apis/cloudflare/cloudflare-workflows-api/)
- [Cloudflare Browser Rendering API](https://apis.io/apis/cloudflare/cloudflare-browser-rendering-api/)

## Tags

Custom Hostname for a Zone

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/cloudflare/cloudflare-custom-hostname-for-a-zone-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/cloudflare/.
