/**
  * Deletes a tag.
  *
  * @ApiDoc(
  *  requirements={
  *      {"name"="id", "dataType"="integer", "requirement"="\d+", "description"="tag identifier"}
  *  },
  *  statusCodes={
  *      200="Returned when tag is successfully deleted",
  *      400="Returned when an error has occurred while tag deletion",
  *      404="Returned when unable to find tag"
  *  }
  * )
  *
  * @param int $id A Tag identifier
  *
  * @return View
  *
  * @throws NotFoundHttpException
  */
 public function deleteTagAction($id)
 {
     $tag = $this->getTag($id);
     $this->tagManager->delete($tag);
     return array('deleted' => true);
 }