Delete a custom domain.

DELETE /api/applications/{id}/protected-app-metadata/custom-domains/{domain}

Add a custom domain. This feature is not available for open source version.

Path parameters

  • id string Required

    The unique identifier of the application.

  • domain string Required

Responses

  • 204

    The domain has been deleted.

  • 400

    Bad Request

  • 401

    Unauthorized

  • 403

    Forbidden

  • 404

    Can not find the domain.

  • 501

    Not Implemented

DELETE /api/applications/{id}/protected-app-metadata/custom-domains/{domain}
curl \
 -X DELETE https://[tenant_id].logto.app/api/applications/{id}/protected-app-metadata/custom-domains/{domain}