---
search:
  tags:
    - edge
    - DELETE
seo:
  description: >-
    The port stops being served there within seconds.… Reference for the DELETE
    /v1/sandboxes/{sandbox}/ports/{port}/domains/{domain} endpoint in the
    pols.so API.
sidebar:
  label: Remove a custom domain from a port
  badge: DELETE
title: Remove a custom domain from a port
type: openapi-operation
---
The port stops being served there within seconds. Remove the
domain's DNS records too: while they point to pols, any org can
add and verify the domain.

`DELETE /v1/sandboxes/{sandbox}/ports/{port}/domains/{domain}`
