Skip to content

Github API for deleting issues #39520

Discussion options

You must be logged in to vote

You are right, no GitHub Docs - REST API to delete an issue.


Alternative way: GitHub Docs - GraphQL API - mutation:deleteissue

query

mutation {
  deleteIssue(input: {issueId: "I_kwDOIV8V6M5WM_mv", clientMutationId: "test issue delete"}) {
    clientMutationId
  }
}

result

{
  "data": {
    "deleteIssue": {
      "clientMutationId": "test issue delete"
    }
  }
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by thilllon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API and Webhooks Discussions and conversations related to APIs or Webhooks Question
2 participants