src/Umbraco.Cms.ManagementApi/Controllers/Language/DeleteLanguageController.cs
[ProducesResponseType(StatusCodes.Status200OK)]
// TODO: This needs to be an authorized endpoint.
public async Task<IActionResult> Delete(int id)
{
ILanguage? language = _localizationService.GetLanguageById(id);
This method may not verify which users should be able to access resources of the provided ID.
src/Umbraco.Web.BackOffice/Controllers/ContentController.cs
[HttpDelete]
[HttpPost]
public IActionResult DeleteBlueprint(int id)
{
IContent? found = _contentService.GetBlueprintById(id);
This method may not verify which users should be able to access resources of the provided ID.
src/Umbraco.Web.BackOffice/Controllers/LanguageController.cs
[HttpDelete]
[HttpPost]
public IActionResult DeleteLanguage(int id)
{
ILanguage? language = _localizationService.GetLanguageById(id);
This method may not verify which users should be able to access resources of the provided ID.
src/Umbraco.Web.BackOffice/Controllers/MacrosController.cs
[HttpPost]
public IActionResult DeleteById(int id)
{
IMacro? macro = _macroService.GetById(id);
This method may not verify which users should be able to access resources of the provided ID.
src/Umbraco.Web.BackOffice/Controllers/MemberGroupController.cs
[HttpDelete]
[HttpPost]
public IActionResult DeleteById(int id)
{
IMemberGroup? memberGroup = _memberGroupService.GetById(id);
This method may not verify which users should be able to access resources of the provided ID.
src/Umbraco.Web.BackOffice/Controllers/RedirectUrlManagementController.cs
[HttpPost]
public IActionResult DeleteRedirectUrl(Guid id)
{
_redirectUrlService.Delete(id);
This method may not verify which users should be able to access resources of the provided ID.
src/Umbraco.Web.BackOffice/Controllers/RelationTypeController.cs
[HttpPost]
[HttpDelete]
public IActionResult DeleteById(int id)
{
IRelationType? relationType = _relationService.GetRelationTypeById(id);
This method may not verify which users should be able to access resources of the provided ID.
src/Umbraco.Web.BackOffice/Controllers/TemplateController.cs
[HttpDelete]
[HttpPost]
public IActionResult DeleteById(int id)
{
ITemplate? template = _fileService.GetTemplate(id);
This method may not verify which users should be able to access resources of the provided ID.