GitHub GraphQL API adds deleteProjectV2View mutation
Introduced 2026-07-28 · score 0.98
HOW TO USE IT
When deleting a view from a GitHub project, call `deleteProjectV2View` with its view ID. The mutation returns the deleted view in `projectV2View`.
mutation { deleteProjectV2View(input: {viewId: "<VIEW_ID>"}) { projectV2View { id } } }WHY THIS HELPS
Delete a view from a GitHub project through the GraphQL API.
REQUIREMENTS AND LIMITATIONS
- input (required): `DeleteProjectV2ViewInput!` input object for the mutation.
- viewId (required): `ID!`; ID of the view to delete.
- clientMutationId: `String`; optional unique identifier for the client performing the mutation.
- projectV2View: Mutation payload field; the deleted view.
FIRST-PARTY EVIDENCE
- https://docs.github.com/en/graphql/overview/changelog#schema-changes-for-2026-07-28
- https://docs.github.com/en/graphql/reference/projects
Check the installed version and the source before using it. Entry JSON