code: func (r *ChainResource) Delete(context smolder.APIContext, request *restful.Request, response *restful.Response) {
  	resp := ChainResponse{}
  	resp.Init(context)
  
  	id := request.PathParameter("chain-id")
  
  	found := false
  	chains := []bees.Chain{}
  	for _, v := range bees.GetChains() {
  		if v.Name == id {
  			found = true
  		} else {
  			chains = append(chains, v)
  		}
  	}
  
  	if found {
  		bees.SetChains(chains)
  		resp.Send(response)
  	} else {
  		r.NotFound(request, response)
  	}
  }
docs: // Delete processes an incoming DELETE request