func (m *mailgunImpl) DeleteTag(tag string) error { r := simplehttp.NewDeleteRequest(generateApiUrl(m, deleteTagEndpoint) + "/" + tag) r.SetBasicAuth(basicAuthUser, m.ApiKey()) _, err := r.MakeRequest() return err }
func (m *mailgunImpl) DeleteCampaign(id string) error { r := simplehttp.NewDeleteRequest(generateApiUrl(m, campaignsEndpoint) + "/" + id) r.SetBasicAuth(basicAuthUser, m.ApiKey()) _, err := r.MakeRequest() return err }
func (m *mailgunImpl) DeleteBounce(address string) error { r := simplehttp.NewDeleteRequest(generateApiUrl(m, bouncesEndpoint) + "/" + address) r.SetBasicAuth(basicAuthUser, m.ApiKey()) _, err := r.MakeRequest() return err }