---
title: "Disconnect project domain"
method: DELETE
path: "/projects/v1/{project_id}/domains/{domain}"
tags: ["Project domains"]
---

# Disconnect project domain

`DELETE /projects/v1/{project_id}/domains/{domain}`

## Request

- Base URL: `https://api.run402.com`
- URL: `https://api.run402.com/projects/v1/{project_id}/domains/{domain}`
- Auth: one of:
  - API key in header `SIGN-IN-WITH-X`
  - HTTP bearer
  - HTTP bearer

Deletes the ProjectDomain desired binding. Mailboxes continue to receive on their managed Run402 addresses.

## Path parameters

- `project_id` string, required: Run402 project ID. Public IDs are not UUIDs.
- `domain` string, required

## Headers

- `SIGN-IN-WITH-X` string, required

## Response `200`

ProjectDomain deleted

- object
  - `status` 'deleted'
  - `domain` string

## Other responses

- `401`: Missing or invalid authentication. Run402-originated JSON bodies use the canonical ErrorEnvelope.
- `403`: Not authorized for this project
- `404`: Project domain not found

---

[API](https://skmtc.dev/run402/apis/run402-api.md) · [All operations](https://skmtc.dev/run402/apis/run402-api/llms.txt) · [OpenAPI document](https://skmtc.dev/run402/apis/run402-api/revisions/893607557f50?raw)
