Function: ghub-delete

ghub-delete is a byte-compiled function defined in ghub.el.

Signature

(ghub-delete RESOURCE &optional PARAMS &key QUERY PAYLOAD HEADERS SILENT UNPAGINATE NOERROR READER USERNAME AUTH HOST FORGE CALLBACK ERRORBACK EXTRA)

Documentation

Make a DELETE request for RESOURCE, with optional payload PARAMS.

Like calling ghub-request (which see) with "DELETE" as METHOD.

Source Code

;; Defined in ~/.emacs.d/elpa/ghub-20260401.1239/ghub.el
(cl-defun ghub-delete (resource
                       &optional params
                       &key query payload headers
                       silent unpaginate noerror reader
                       username auth host forge
                       callback errorback extra)
  "Make a `DELETE' request for RESOURCE, with optional payload PARAMS.
Like calling `ghub-request' (which see) with \"DELETE\" as METHOD."
  (ghub-request "DELETE" resource params
    :query query :payload payload :headers headers
    :silent silent :unpaginate unpaginate
    :noerror noerror :reader reader
    :username username :auth auth :host host :forge forge
    :callback callback :errorback errorback :extra extra))