public ActionResult <string> Remove([FromBody] VaultKeep vKeep) { string reqUserId = HttpContext.User.FindFirstValue("Id"); User user = _as.GetUserById(reqUserId); //Check if vault is owned by user vKeep.UserId = _vs.Get(vKeep.VaultId, user.Id).UserId; //Remove vKeep return(Ok(_vks.Remove(vKeep))); }