Deleting or renaming files in a multi-file Gist using Github API #24775
Answered
by
UziTech
vadimkantorov
asked this question in
API and Webhooks
-
The docs at Gists - GitHub Docs mention that PATCH method can be used for
|
Beta Was this translation helpful? Give feedback.
Answered by
UziTech
Apr 21, 2021
Replies: 1 comment
-
Delete a file by setting
or not setting any properties.
Rename a file by setting the
source: Cannot delete gist file with filename: null · Issue #19 · octokit/rest.js · GitHub |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Delete a file by setting
content
to an empty string (""
).or not setting any properties.
Rename a file by setting the
filename
property.source: Cannot delete gist file with filename: null · Issue #19 · octokit/rest.js · GitHub