DELETE
/projects/{project_id}/branches/{branch_id}/custom-domains/{domain}Delete a custom domain from a branchRemoves a custom domain registered on the branch and stops routing it.
Note: This endpoint is currently in Beta.
Parameters
project_idstringpathrequiredThe Neon project ID
branch_idstringpathrequiredThe Neon branch ID
domainstringpathrequiredThe registered custom domain (case-insensitive).
Responses
objectGeneralError
codestringrequiredmessagestringrequiredError message
request_idstringUnique identifier for the request, useful for debugging. You can set this value manually by including an `X-Request-ID` header in the request. If not provided, the value will be generated automatically.
{
"code": "",
"message": "string",
"request_id": "string"
}