> ## Documentation Index
> Fetch the complete documentation index at: https://docs.korve.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove

> Remove a custom domain. Traffic to it stops being served.



## OpenAPI

````yaml /openapi.json delete /v1/orgs/{orgId}/projects/{projectId}/domains/{domainId}
openapi: 3.1.0
info:
  title: Korve API
  version: 0.1.0
  description: >-
    Typed control plane for deploying applications and explicitly provisioning
    their managed infrastructure.
servers:
  - url: https://api.korve.dev
security: []
paths:
  /v1/orgs/{orgId}/projects/{projectId}/domains/{domainId}:
    delete:
      tags:
        - domains
      summary: Remove
      description: Remove a custom domain. Traffic to it stops being served.
      operationId: domains.remove
      parameters:
        - name: orgId
          in: path
          required: true
          schema:
            type: string
          description: The organization's id (UUID) or slug — either form is accepted.
        - name: projectId
          in: path
          required: true
          schema:
            type: string
          description: The project's id (UUID) or slug — either form is accepted.
        - name: domainId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Domain removed.
        '404':
          description: No such domain on this project.
        '502':
          description: Removing the domain at the edge failed; the domain was kept.
      security:
        - apiKey: []
        - session: []
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: korve_api_key
    session:
      type: apiKey
      in: cookie
      name: korve.session_token

````