---
id: scope-domain-delete
title: "Delete a custom domain"
description: "Delete a custom domain from a scope."
sidebar_label: "Delete a custom domain"
hide_title: true
hide_table_of_contents: true
api: eJzdVt9v4zYM/lcEPt0BbpK2KVr4rWs7rMMwFHcpdkBbFIzExLqTJVc/uusZ/t8Hym7qpAXWl23A8qDYMkV+/EiKbEFRkF43UTsLJZyToUgChUwhulooV6O2YuVdLVAE6RqaQAGuIY985FJBCXn7vhctVdYABURcByhv4GysCe4KCCST1/EJypsWloSe/GmKFZQ3d91dAQ16rCmSD1nAYk1QglZQgGaIDcYKCvD0kLQnBWX0iYodPxYViWT1QyJxeS5WzotY0bZT7EeQFdUIZQvxqWEzIXpt19AVQN+xbgzv0fEJztTB/t6hnJ/sHc8P9vdO9qXaO5gdruhkvjyh+TEwck+hcTZQYIUHszn/vYa14U78iUGEJCWFsEpmwlbnX768PnVmNNkoyHvnxcaIUIlEdELbRzRaCW2bFIXzotYhaLsWL0Syq9LZSDaydmwao2XGMP0a2ET7mgm3/EoybhF9AyFiTOHMKQ5wxgMF1BQCrolD23j2LuqegpH0i15tI62Jz207+cticSX6E0I6RcJT4ymQjewLRy80JPVKSyHHfHygyXpSiPlsxss+L4e8zD+y15sozmezjknYwjJEexfKqahRVtrSnidUuDQ02Mq4YoVRSIy0dl7/oNBjI/9IXqxQm+RpyzIsUd0ziRRiTqxM2ztALL2mVSGqVKN9QTKSEm6VjffgWN0zG7fwEyrxqTd6C7xxbTHFKkNWt7BNzliaIT5H9O9BKqX5EY1QFFGbIHDpUnyBtW2H83+gImd/jWblfE1KZHZtRG1JbVJ6nMFd/hVw9FaFfO7p360QbVXOc7sWaIUOIZFwNoM7vboUQSv6n5VGGBMxJMMRl8bR7ICXw+3AH/13VcHOeovmvhe67yn71+rjcjAvhtS5YJm+UnhHSxLXFh9RG9b6qmDePP6Pls6pFcnS94ZkJDW45KRM3pOaiCtDGEhE/yRwzR3bYCT/XDUZV6wcN+tNf859tITpuHtPW6067ovZq74BJ2+ghCrGJpTTKTZ6YpMxjcHIpTuRrs7N77mrf+Zq6ZN83Ns3dLCi586bb8csBMXw8LPzNUYo4dc/FsDAtV05Ps54eub2J7PJjAcMHTMzv4/gcF1zGBoXYo25fIcB4u3JZjcs7ctl8N5ZaPAr0vc4bQzr7IqetHbg+GZrQoICSq34SqhciPy1bZcY6NqbruPth0Seh6O7Ah7Ra86/HAilAz8rKFdowu7IM0b+4dNwMX0U7xyE3nRi2ET7BAzFJH6DAr7RUz+RdXddARWhIp8R9h9OpaQmjo68ulQ5XzYJeX7x28XiAgrA7UTZSYxs4E1EbdtLLNw3sl23ARj5nTF23V/v/L6e
sidebar_class_name: "delete api-method"
info_path: docs/api/nullplatform-api
custom_edit_url: null
---

import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Delete a custom domain"}
>
</Heading>

<MethodEndpoint
  method={"delete"}
  path={"/scope_domain/{id}"}
  context={"endpoint"}
>
  
</MethodEndpoint>



Delete a custom domain from a scope.

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
  children={"Request"}
>
</Heading>

<ParamsDetails
  parameters={[{"name":"id","in":"path","required":true,"description":"The unique ID for the custom domain.","schema":{"type":"string"},"example":"e78a0d21-3c48-7421-81cd-203fe84b8e47"}]}
>
  
</ParamsDetails>

<RequestSchema
  title={"Body"}
  body={undefined}
>
  
</RequestSchema>

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{"204":{"description":"The operation was successful."},"4XX":{"description":"Client error responses due to invalid input or missing parameters.","content":{"application/json":{"schema":{"type":"object","required":["statusCode","error","message"],"properties":{"statusCode":{"type":"integer","description":"HTTP status code representing the specific client error (e.g., 400, 401, 403, 404).","example":400},"code":{"type":"string","description":"A machine-readable error code that categorizes the server failure.","example":"bad_request"},"error":{"type":"string","description":"A brief, human-readable description of the error type (e.g., \"Bad Request\", \"Unauthorized\").","example":"Bad Request"},"message":{"type":"string","description":"Additional details about the error.","example":"The request was malformed or contained invalid parameters."}}}}}},"5XX":{"description":"Server error responses indicating an issue on the API side.","content":{"application/json":{"schema":{"type":"object","required":["statusCode","error","message"],"properties":{"statusCode":{"type":"integer","description":"HTTP status code representing the specific server error (e.g., 500, 502, 503).","example":500},"code":{"type":"string","description":"A machine-readable error code that categorizes the server failure.","example":"internal_server_error"},"error":{"type":"string","description":"A brief, human-readable description of the error type (e.g., \"Internal Server Error\", \"Service Unavailable\").","example":"Internal Server Error"},"message":{"type":"string","description":"Additional details about the error.","example":"An unexpected error occurred. Please try again later."}}}}}}}}
>
  
</StatusCodes>


      