In this guide

Delete a Gist

Remove a gist and every revision of it.

Action referenceDelete

What this action does #

First, connect GitHub in Services. Then open Actions → + → GitHub and choose Delete a Gist.

What a run does

Running or testing this action deletes or removes something in your connected service.

More about this action

Permanent, immediate and not undoable: the gist, its files, its comments and its whole revision history go. Answers 204 with no body.

Inputs to fill in #

Open an input to choose its value. Keep a fixed value with Text, receive it from Shortcuts, ask when the action runs, or use an Earlier Step. Read how input sources work.

Gist ID

RequiredText

The hash at the end of the gist's URL.

This input offers a picker for gist from your connected account. You can also supply its value directly.

Example value (replace with your own):
aa5a315d61ae9438b18d

What comes back #

The app does not declare selectable response fields for this action. A successful operation may return no content. Inspect the run in Logs to see the service’s response.

Run it from Shortcuts #

  1. Give the action a recognizable name and tap Save.
  2. In Apple Shortcuts, add Shortcutify’s Execute Action and select the saved action.
  3. Supply any Param or File slots you bound in the inputs, then run the shortcut.

If the result is unexpected, open Logs in Shortcutify, select the run, and inspect this step’s inputs and response.

Advanced reference #

Request, permissions, and identifiers

Request: DELETE https://api.github.com/gists/{gist_id}

Action identifier: github.gists.delete.v1

Permissions declared for this action: gists:write. The account’s own access rules also apply.

InputRequest keyLocation
Gist IDgist_idpath

GitHub API reference