---
title: "Stop serving the hostname, open connections included, before this answers. Remove its DNS records too."
method: DELETE
path: "/v1/domains/{hostname}"
tags: ["domains"]
---

# Stop serving the hostname, open connections included, before this answers. Remove its DNS records too.

`DELETE /v1/domains/{hostname}`

## Request

- Base URL: `https://api.withruntime.com`
- URL: `https://api.withruntime.com/v1/domains/{hostname}`
- Auth: HTTP bearer

## Path parameters

- `hostname` string, required: The hostname, such as app.example.com.

## Headers

- `Idempotency-Key` string

## Response `200`

Success

- object
  - `hostname` string
  - `deleted` true

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/withruntime/apis/runtime-cloud-api.md) · [All operations](https://skmtc.dev/withruntime/apis/runtime-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/withruntime/apis/runtime-cloud-api/revisions/6f4012286988?raw)
