DELETE
/gists/{gist_id}Delete a gist
Deletes a specific gist identified by gist_id. Use this operation when you want to permanently remove the gist associated with that identifier. A successful response contains no response body.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
gist_idstringrequired
The unique identifier of the gist to delete.
204Confirms that the gist was deleted successfully and returns no response body.
304Returned when the gist has not changed since the request's conditional cache value.
403Returned when the authenticated user is forbidden from deleting the gist.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
404Returned when no accessible gist exists with the specified `gist_id`.
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 gist_id does not identify an accessible gist; supply the gist's unique identifier.