# Remove custom domain. **DELETE /api/applications/{id}/protected-app-metadata/custom-domains/{domain}** Remove custom domain from the specified application. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - O auth2 ## Parameters #### Path parameters - **id** (string) The unique identifier of the application. - **domain** (string) ## Responses ### 204: The domain has been removed. ### 400: Bad Request ### 401: Unauthorized ### 403: Forbidden ### 404: Can not find the domain. ### 501: Not Implemented [Powered by Bump.sh](https://bump.sh)