// Delete is a short hand of Api(path, DELETE, params).
481338
func (session *Session) Delete(path string, params Params) (Result, error) {
	return session.Api(path, DELETE, params)
}
145981
func (p *RequestParams) Delete(params ...string) (err error) {
	if p == nil {
		return
	}
	for _, param := range params {
		if err = p.delete(param); err != nil {
			return
		}
	}
	return
}
129319
func (c *client) delete(rawurl string) error {
	return c.do(rawurl, "DELETE", nil, nil)
}
581982
func (r *Redis) Delete(key string) error {
	return r.Client.Del(key).Err()
}
225480
func (r *router) DELETE(path string, handler Route) {
	r.group.DELETE(path, handler)
}
212747
func (res *Resource) Delete(storage store.Delete) {
	res.HandleFunc(
		pat.Delete(patID),
		func(w http.ResponseWriter, r *http.Request) {
			res.deleteHandler(w, r, storage)
		},
	)

	res.addRoute(delete, patID)
}
1265836
func (F *Frisby) Delete(url string) *Frisby {
	F.Method = "DELETE"
	F.Url = url
	return F
}
1252376
func (c *FakeAPIServices) Delete(name string, options *v1.DeleteOptions) error {
	_, err := c.Fake.
		Invokes(testing.NewRootDeleteAction(apiservicesResource, name), &apiregistration.APIService{})
	return err
}
429486
func (s *service) Delete(ctx context.Context, r *taskAPI.DeleteRequest) (*taskAPI.DeleteResponse, error) {
	return nil, errdefs.ErrNotImplemented
}
587745
func (c *Client) Delete(key string) error {
	return c.deleteRecurse(key, false)
}
1249137
func (r *Router) DELETE(route string, handler interface{}) *Router {
	r.Handle(MethodDELETE, route, handler)
	return r
}
1252068
func (r Resource) Delete(request *restful.Request, response *restful.Response) {
	if resource, ok := r.Parent.(DeleteSupported); ok {
		context := r.Context.NewAPIContext()
		if resource.DeleteAuthRequired() {
			auth, err := context.Authentication(request)
			if err != nil || auth == nil {
				ErrorResponseHandler(request, response, err, NewErrorResponse(
					http.StatusUnauthorized,
					"Invalid accesstoken",
					"DELETE"))
				return
			}
		}

		resource.Delete(context, request, response)
		request.SetAttribute("context", context)
	}
}
326528
func (l Local) Delete(_ context.Context, path string) error {
	return os.RemoveAll(l.fullPath(path))
}
1263018
func (r *Route) Delete(fn http.HandlerFunc) *Route {
	return r.Method(http.MethodDelete, fn)
}
1275419
func (_m *Client) Delete(path string, opts *pebbleclient.RequestOptions, result interface{}) error {
	ret := _m.Called(path, opts, result)

	var r0 error
	if rf, ok := ret.Get(0).(func(string, *pebbleclient.RequestOptions, interface{}) error); ok {
		r0 = rf(path, opts, result)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}
229532
func (p *PathStruct) Delete(ctx context.Context, s logical.Storage) error {
	return s.Delete(ctx, fmt.Sprintf("struct/%s", p.Name))
}
1227225
func (rc *RequestConfig) DELETE(path string) *RequestConfig {
	rc.Path = path
	rc.Method = "DELETE"

	return rc
}