code: func DeleteDashboardSnapshotByDeleteKey(c *m.ReqContext) Response {
  	key := c.Params(":deleteKey")
  
  	query := &m.GetDashboardSnapshotQuery{DeleteKey: key}
  
  	err := bus.Dispatch(query)
  	if err != nil {
  		return Error(500, "Failed to get dashboard snapshot", err)
  	}
  
  	if query.Result.External {
  		err := deleteExternalDashboardSnapshot(query.Result.ExternalDeleteUrl)
  		if err != nil {
  			return Error(500, "Failed to delete external dashboard", err)
  		}
  	}
  
  	cmd := &m.DeleteDashboardSnapshotCommand{DeleteKey: query.Result.DeleteKey}
  
  	if err := bus.Dispatch(cmd); err != nil {
  		return Error(500, "Failed to delete dashboard snapshot", err)
  	}
  
  	return JSON(200, util.DynMap{"message": "Snapshot deleted. It might take an hour before it's cleared from any CDN caches."})
  }
docs: // GET /api/snapshots-delete/:deleteKey