diff --git a/src/Umbraco.Web.BackOffice/Controllers/RelationController.cs b/src/Umbraco.Web.BackOffice/Controllers/RelationController.cs index b8d5e1bc20..e9812aa215 100644 --- a/src/Umbraco.Web.BackOffice/Controllers/RelationController.cs +++ b/src/Umbraco.Web.BackOffice/Controllers/RelationController.cs @@ -58,20 +58,5 @@ namespace Umbraco.Web.BackOffice.Controllers return _umbracoMapper.MapEnumerable(relations); } - [HttpDelete] - [HttpPost] - public IActionResult DeleteById(int id) - { - var foundRelation = _relationService.GetById(id); - - if (foundRelation == null) - { - return new UmbracoProblemResult("No relation found with the specified id", HttpStatusCode.NotFound); - } - - _relationService.Delete(foundRelation); - - return Ok(); - } } }