DELETE/gists/{gist_id}

Delete a gist

Deletes a specific gist. Use gist_id to identify the gist you want to remove; the operation returns no response body when deletion completes.

1 parameter
gist_idstringrequired
The unique identifier of the gist to delete.

4 status codes
204Returns no response body after deleting the gist.
304Returned when the resource has not been modified.
403Returned when the request is forbidden.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
404Returned when the requested gist cannot be found.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional

Error handling

A 403 is returned when the authenticated user is not permitted to delete the gist. A 404 is returned when no gist matches the gist_id path parameter.