func DeleteAuthKey(w http.ResponseWriter, req *http.Request) {
	k, err := hasAuthKeyAccess(w, req)
	if err != nil {
		return
	}

	repo := container.Instance.GetAuthKeyRepo()
	_ = repo.Remove(*k)

	_ = dispatcher.DispatchAuthKeyDelete(k.AddressHash, *k)

	// All is well
	_ = httputils.JSONOut(w, http.StatusNoContent, "")
}
// DeleteAuthKey will remove a key
DeleteAuthKey will remove a key
// DeleteAuthKey will remove a key
func DeleteAuthKey(w http.ResponseWriter, req *http.Request) {
	k, err := hasAuthKeyAccess(w, req)
	if err != nil {
		return
	}
	repo := container.Instance.GetAuthKeyRepo()
	_ = repo.Remove(*k)
	_ = dispatcher.DispatchAuthKeyDelete(k.AddressHash, *k)
	_ = httputils.JSONOut(w, http.StatusNoContent, "")
}
func DeleteAuthKey ( w http . ResponseWriter , req * http . Request ) { k , err := hasAuthKeyAccess ( w , req ) if err != nil { return } repo := container . Instance . GetAuthKeyRepo ( ) _ = repo . Remove ( * k ) _ = dispatcher . DispatchAuthKeyDelete ( k . AddressHash , * k ) _ = httputils . JSONOut ( w , http . StatusNoContent , " " ) }
DeleteAuthKey will remove a key
DeleteAuthKey will remove a key
// All is well