Every GraphQL schema has a root type for both queries and mutations. The mutation type defines GraphQL operations that change data on the server. It is analogous to performing HTTP verbs such as POST
, PATCH
, and DELETE
.
For more information, see Forming calls with GraphQL.
abortQueuedMigrationsClear all of a customer's queued migrations.
Input fields forabortQueuedMigrations
input
(AbortQueuedMigrationsInput!
)abortQueuedMigrations
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
success
(Boolean
)
Did the operation succeed?.
abortRepositoryMigrationAbort a repository migration queued or in progress.
Input fields forabortRepositoryMigration
input
(AbortRepositoryMigrationInput!
)abortRepositoryMigration
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
success
(Boolean
)
Did the operation succeed?.
acceptEnterpriseMemberInvitationAccepts a pending invitation for a user to become an unaffiliated member of an enterprise.
Input fields foracceptEnterpriseMemberInvitation
Return fields for acceptEnterpriseMemberInvitation
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
invitation
(EnterpriseMemberInvitation
)
The invitation that was accepted.
message
(String
)
A message confirming the result of accepting an unaffiliated member invitation.
acceptTopicSuggestionApplies a suggested topic to the repository.
Input fields foracceptTopicSuggestion
input
(AcceptTopicSuggestionInput!
)acceptTopicSuggestion
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
topic
(Topic
)
The accepted topic.
Warning
topic
is deprecated.
Suggested topics are no longer supported Removal on 2024-04-01 UTC.
accessUserNamespaceRepositoryAccess user namespace repository for a temporary duration.
Input fields foraccessUserNamespaceRepository
Return fields for accessUserNamespaceRepository
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
expiresAt
(DateTime
)
The time that repository access expires at.
repository
(Repository
)
The repository that is temporarily accessible.
addBlockedByAdds a 'blocked by' relationship to an issue.
Input fields foraddBlockedBy
input
(AddBlockedByInput!
)addBlockedBy
Name Description
blockingIssue
(Issue
)
The issue that is blocking the given issue.
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
issue
(Issue
)
The issue that is blocked.
Adds a comment to an Issue or Pull Request.
Input fields foraddComment
input
(AddCommentInput!
)addComment
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
commentEdge
(IssueCommentEdge
)
The edge from the subject's comment connection.
subject
(Node
)
The subject.
timelineEdge
(IssueTimelineItemEdge
)
The edge from the subject's timeline connection.
Adds a comment to a Discussion, possibly as a reply to another comment.
Input fields foraddDiscussionComment
input
(AddDiscussionCommentInput!
)addDiscussionComment
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
comment
(DiscussionComment
)
The newly created discussion comment.
addEnterpriseOrganizationMemberAdds enterprise members to an organization within the enterprise.
Input fields foraddEnterpriseOrganizationMember
Return fields for addEnterpriseOrganizationMember
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
users
([User!]
)
The users who were added to the organization.
addEnterpriseSupportEntitlementAdds a support entitlement to an enterprise member.
Input fields foraddEnterpriseSupportEntitlement
Return fields for addEnterpriseSupportEntitlement
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
message
(String
)
A message confirming the result of adding the support entitlement.
addLabelsToLabelableAdds labels to a labelable object.
Input fields foraddLabelsToLabelable
input
(AddLabelsToLabelableInput!
)addLabelsToLabelable
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
labelable
(Labelable
)
The item that was labeled.
addProjectCardAdds a card to a ProjectColumn. Either contentId
or note
must be provided but not both.
addProjectCard
input
(AddProjectCardInput!
)addProjectCard
Name Description
cardEdge
(ProjectCardEdge
)
The edge from the ProjectColumn's card connection.
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
projectColumn
(ProjectColumn
)
The ProjectColumn.
addProjectColumnAdds a column to a Project.
Input fields foraddProjectColumn
input
(AddProjectColumnInput!
)addProjectColumn
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
columnEdge
(ProjectColumnEdge
)
The edge from the project's column connection.
project
(Project
)
The project.
addProjectV2DraftIssueCreates a new draft issue and add it to a Project.
Input fields foraddProjectV2DraftIssue
input
(AddProjectV2DraftIssueInput!
)addProjectV2DraftIssue
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
projectItem
(ProjectV2Item
)
The draft issue added to the project.
addProjectV2ItemByIdLinks an existing content instance to a Project.
Input fields foraddProjectV2ItemById
input
(AddProjectV2ItemByIdInput!
)addProjectV2ItemById
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
item
(ProjectV2Item
)
The item added to the project.
Adds a comment to a review.
addReactionAdds a reaction to a subject.
Input fields foraddReaction
input
(AddReactionInput!
)addReaction
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
reaction
(Reaction
)
The reaction object.
reactionGroups
([ReactionGroup!]
)
The reaction groups for the subject.
subject
(Reactable
)
The reactable subject.
addStarAdds a star to a Starrable.
Input fields foraddStar
input
(AddStarInput!
)addStar
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
starrable
(Starrable
)
The starrable.
addSubIssueAdds a sub-issue to a given issue.
Input fields foraddSubIssue
input
(AddSubIssueInput!
)addSubIssue
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
issue
(Issue
)
The parent issue that the sub-issue was added to.
subIssue
(Issue
)
The sub-issue of the parent.
addUpvoteAdd an upvote to a discussion or discussion comment.
Input fields foraddUpvote
input
(AddUpvoteInput!
)addUpvote
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
subject
(Votable
)
The votable subject.
addVerifiableDomainAdds a verifiable domain to an owning account.
Input fields foraddVerifiableDomain
input
(AddVerifiableDomainInput!
)addVerifiableDomain
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
domain
(VerifiableDomain
)
The verifiable domain that was added.
approveDeploymentsApprove all pending deployments under one or more environments.
Input fields forapproveDeployments
input
(ApproveDeploymentsInput!
)approveDeployments
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
deployments
([Deployment!]
)
The affected deployments.
archiveRepositoryMarks a repository as archived.
Input fields forarchiveRepository
input
(ArchiveRepositoryInput!
)archiveRepository
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
repository
(Repository
)
The repository that was marked as archived.
Cancel an active sponsorship.
Input fields forcancelSponsorship
input
(CancelSponsorshipInput!
)cancelSponsorship
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
sponsorsTier
(SponsorsTier
)
The tier that was being used at the time of cancellation.
changeUserStatusUpdate your status on GitHub.
Input fields forchangeUserStatus
input
(ChangeUserStatusInput!
)changeUserStatus
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
status
(UserStatus
)
Your updated status.
clearLabelsFromLabelableClears all labels from a labelable object.
Input fields forclearLabelsFromLabelable
input
(ClearLabelsFromLabelableInput!
)clearLabelsFromLabelable
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
labelable
(Labelable
)
The item that was unlabeled.
clearProjectV2ItemFieldValueThis mutation clears the value of a field for an item in a Project. Currently only text, number, date, assignees, labels, single-select, iteration and milestone fields are supported.
Input fields forclearProjectV2ItemFieldValue
Return fields for clearProjectV2ItemFieldValue
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
projectV2Item
(ProjectV2Item
)
The updated item.
cloneProjectCreates a new project by cloning configuration from an existing project.
Input fields forcloneProject
input
(CloneProjectInput!
)cloneProject
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
jobStatusId
(String
)
The id of the JobStatus for populating cloned fields.
project
(Project
)
The new cloned project.
cloneTemplateRepositoryCreate a new repository with the same files and directory structure as a template repository.
Input fields forcloneTemplateRepository
input
(CloneTemplateRepositoryInput!
)cloneTemplateRepository
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
repository
(Repository
)
The new repository.
closeDiscussionClose a discussion.
Input fields forcloseDiscussion
input
(CloseDiscussionInput!
)closeDiscussion
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
discussion
(Discussion
)
The discussion that was closed.
closeIssueClose an issue.
Input fields forcloseIssue
input
(CloseIssueInput!
)closeIssue
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
issue
(Issue
)
The issue that was closed.
closePullRequestClose a pull request.
Input fields forclosePullRequest
input
(ClosePullRequestInput!
)closePullRequest
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
pullRequest
(PullRequest
)
The pull request that was closed.
copyProjectV2Copy a project.
Input fields forcopyProjectV2
input
(CopyProjectV2Input!
)copyProjectV2
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
projectV2
(ProjectV2
)
The copied project.
createAttributionInvitationInvites a user to claim reattributable data.
Input fields forcreateAttributionInvitation
Return fields for createAttributionInvitation
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
owner
(Organization
)
The owner scoping the reattributable data.
source
(Claimable
)
The account owning the data to reattribute.
target
(Claimable
)
The account which may claim the data.
createCheckRunCreate a check run.
Input fields forcreateCheckRun
input
(CreateCheckRunInput!
)createCheckRun
Name Description
checkRun
(CheckRun
)
The newly created check run.
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
createCheckSuiteCreate a check suite.
Input fields forcreateCheckSuite
input
(CreateCheckSuiteInput!
)createCheckSuite
Name Description
checkSuite
(CheckSuite
)
The newly created check suite.
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
createCommitOnBranchAppends a commit to the given branch as the authenticated user.
This mutation creates a commit whose parent is the HEAD of the provided branch and also updates that branch to point to the new commit. It can be thought of as similar to git commit
.
Commits are appended to a branch
of type Ref
. This must refer to a git branch (i.e. the fully qualified path must begin with refs/heads/
, although including this prefix is optional.
Callers may specify the branch
to commit to either by its global node ID or by passing both of repositoryNameWithOwner
and refName
. For more details see the documentation for CommittableBranch
.
fileChanges
are specified as a FilesChanges
object describing FileAdditions
and FileDeletions
.
Please see the documentation for FileChanges
for more information on how to use this argument to describe any set of file changes.
Similar to the web commit interface, this mutation does not support specifying the author or committer of the commit and will not add support for this in the future.
A commit created by a successful execution of this mutation will be authored by the owner of the credential which authenticates the API request. The committer will be identical to that of commits authored using the web interface.
If you need full control over author and committer information, please use the Git Database REST API instead.
Commit SigningCommits made using this mutation are automatically signed by GitHub if supported and will be marked as verified in the user interface.
Input fields forcreateCommitOnBranch
input
(CreateCommitOnBranchInput!
)createCommitOnBranch
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
commit
(Commit
)
The new commit.
ref
(Ref
)
The ref which has been updated to point to the new commit.
createDeploymentCreates a new deployment event.
Input fields forcreateDeployment
input
(CreateDeploymentInput!
)createDeployment
Name Description
autoMerged
(Boolean
)
True if the default branch has been auto-merged into the deployment ref.
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
deployment
(Deployment
)
The new deployment.
createDiscussionCreate a discussion.
Input fields forcreateDiscussion
input
(CreateDiscussionInput!
)createDiscussion
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
discussion
(Discussion
)
The discussion that was just created.
createEnterpriseOrganizationCreates an organization as part of an enterprise account. A personal access token used to create an organization is implicitly permitted to update the organization it created, if the organization is part of an enterprise that has SAML enabled or uses Enterprise Managed Users. If the organization is not part of such an enterprise, and instead has SAML enabled for it individually, the token will then require SAML authorization to continue working against that organization.
Input fields forcreateEnterpriseOrganization
Return fields for createEnterpriseOrganization
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
enterprise
(Enterprise
)
The enterprise that owns the created organization.
organization
(Organization
)
The organization that was created.
createEnvironmentCreates an environment or simply returns it if already exists.
Input fields forcreateEnvironment
input
(CreateEnvironmentInput!
)createEnvironment
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
environment
(Environment
)
The new or existing environment.
createIssueCreates a new issue.
Input fields forcreateIssue
input
(CreateIssueInput!
)createIssue
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
issue
(Issue
)
The new issue.
createIssueTypeCreates a new issue type.
Input fields forcreateIssueType
input
(CreateIssueTypeInput!
)createIssueType
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
issueType
(IssueType
)
The newly created issue type.
createLabelCreates a new label.
Input fields forcreateLabel
input
(CreateLabelInput!
)createLabel
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
label
(Label
)
The new label.
createLinkedBranchCreate a branch linked to an issue.
Input fields forcreateLinkedBranch
input
(CreateLinkedBranchInput!
)createLinkedBranch
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
issue
(Issue
)
The issue that was linked to.
linkedBranch
(LinkedBranch
)
The new branch issue reference.
createMigrationSourceCreates a GitHub Enterprise Importer (GEI) migration source.
Input fields forcreateMigrationSource
input
(CreateMigrationSourceInput!
)createMigrationSource
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
migrationSource
(MigrationSource
)
The created migration source.
createProjectCreates a new project.
Input fields forcreateProject
input
(CreateProjectInput!
)createProject
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
project
(Project
)
The new project.
createProjectV2Creates a new project.
Input fields forcreateProjectV2
input
(CreateProjectV2Input!
)createProjectV2
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
projectV2
(ProjectV2
)
The new project.
createPullRequestCreate a new pull request.
Input fields forcreatePullRequest
input
(CreatePullRequestInput!
)createPullRequest
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
pullRequest
(PullRequest
)
The new pull request.
createRefCreate a new Git Ref.
Input fields forcreateRef
input
(CreateRefInput!
)createRef
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
ref
(Ref
)
The newly created ref.
createRepositoryCreate a new repository.
Input fields forcreateRepository
input
(CreateRepositoryInput!
)createRepository
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
repository
(Repository
)
The new repository.
Create a GitHub Sponsors profile to allow others to sponsor you or your organization.
Input fields forcreateSponsorsListing
input
(CreateSponsorsListingInput!
)createSponsorsListing
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
sponsorsListing
(SponsorsListing
)
The new GitHub Sponsors profile.
Create a new payment tier for your GitHub Sponsors profile.
Input fields forcreateSponsorsTier
input
(CreateSponsorsTierInput!
)createSponsorsTier
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
sponsorsTier
(SponsorsTier
)
The new tier.
Start a new sponsorship of a maintainer in GitHub Sponsors, or reactivate a past sponsorship.
Input fields forcreateSponsorship
input
(CreateSponsorshipInput!
)createSponsorship
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
sponsorship
(Sponsorship
)
The sponsorship that was started.
Make many sponsorships for different sponsorable users or organizations at once. Can only sponsor those who have a public GitHub Sponsors profile.
Input fields forcreateSponsorships
input
(CreateSponsorshipsInput!
)createSponsorships
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
sponsorables
([Sponsorable!]
)
The users and organizations who received a sponsorship.
Creates a new team discussion comment.
createUserListCreates a new user list.
Input fields forcreateUserList
input
(CreateUserListInput!
)createUserList
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
list
(UserList
)
The list that was just created.
viewer
(User
)
The user who created the list.
declineTopicSuggestionRejects a suggested topic for the repository.
Input fields fordeclineTopicSuggestion
input
(DeclineTopicSuggestionInput!
)declineTopicSuggestion
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
topic
(Topic
)
The declined topic.
Warning
topic
is deprecated.
Suggested topics are no longer supported Removal on 2024-04-01 UTC.
deleteDeploymentDeletes a deployment.
Input fields fordeleteDeployment
input
(DeleteDeploymentInput!
)deleteDeployment
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
deleteDiscussionDelete a discussion and all of its replies.
Input fields fordeleteDiscussion
input
(DeleteDiscussionInput!
)deleteDiscussion
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
discussion
(Discussion
)
The discussion that was just deleted.
Delete a discussion comment. If it has replies, wipe it instead.
Input fields fordeleteDiscussionComment
input
(DeleteDiscussionCommentInput!
)deleteDiscussionComment
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
comment
(DiscussionComment
)
The discussion comment that was just deleted.
deleteEnvironmentDeletes an environment.
Input fields fordeleteEnvironment
input
(DeleteEnvironmentInput!
)deleteEnvironment
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
deleteIssueDeletes an Issue object.
Input fields fordeleteIssue
input
(DeleteIssueInput!
)deleteIssue
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
repository
(Repository
)
The repository the issue belonged to.
Deletes an IssueComment object.
Input fields fordeleteIssueComment
input
(DeleteIssueCommentInput!
)deleteIssueComment
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
deleteIssueTypeDelete an issue type.
Input fields fordeleteIssueType
input
(DeleteIssueTypeInput!
)deleteIssueType
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
deletedIssueTypeId
(ID
)
The ID of the deleted issue type.
deleteLabelDeletes a label.
Input fields fordeleteLabel
input
(DeleteLabelInput!
)deleteLabel
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
deleteLinkedBranchUnlink a branch from an issue.
Input fields fordeleteLinkedBranch
input
(DeleteLinkedBranchInput!
)deleteLinkedBranch
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
issue
(Issue
)
The issue the linked branch was unlinked from.
deletePackageVersionDelete a package version.
Input fields fordeletePackageVersion
input
(DeletePackageVersionInput!
)deletePackageVersion
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
success
(Boolean
)
Whether or not the operation succeeded.
deleteProjectDeletes a project.
Input fields fordeleteProject
input
(DeleteProjectInput!
)deleteProject
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
owner
(ProjectOwner
)
The repository or organization the project was removed from.
deleteProjectCardDeletes a project card.
Input fields fordeleteProjectCard
input
(DeleteProjectCardInput!
)deleteProjectCard
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
column
(ProjectColumn
)
The column the deleted card was in.
deletedCardId
(ID
)
The deleted card ID.
deleteProjectColumnDeletes a project column.
Input fields fordeleteProjectColumn
input
(DeleteProjectColumnInput!
)deleteProjectColumn
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
deletedColumnId
(ID
)
The deleted column ID.
project
(Project
)
The project the deleted column was in.
deleteProjectV2Delete a project.
Input fields fordeleteProjectV2
input
(DeleteProjectV2Input!
)deleteProjectV2
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
projectV2
(ProjectV2
)
The deleted Project.
deleteProjectV2ItemDeletes an item from a Project.
Input fields fordeleteProjectV2Item
input
(DeleteProjectV2ItemInput!
)deleteProjectV2Item
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
deletedItemId
(ID
)
The ID of the deleted item.
deleteProjectV2StatusUpdateDeletes a project status update.
Input fields fordeleteProjectV2StatusUpdate
Return fields for deleteProjectV2StatusUpdate
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
deletedStatusUpdateId
(ID
)
The ID of the deleted status update.
projectV2
(ProjectV2
)
The project the deleted status update was in.
deleteProjectV2WorkflowDeletes a project workflow.
Input fields fordeleteProjectV2Workflow
input
(DeleteProjectV2WorkflowInput!
)deleteProjectV2Workflow
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
deletedWorkflowId
(ID
)
The ID of the deleted workflow.
projectV2
(ProjectV2
)
The project the deleted workflow was in.
Deletes a pull request review comment.
Input fields fordeletePullRequestReviewComment
Return fields for deletePullRequestReviewComment
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
pullRequestReview
(PullRequestReview
)
The pull request review the deleted comment belonged to.
pullRequestReviewComment
(PullRequestReviewComment
)
The deleted pull request review comment.
deleteRefDelete a Git Ref.
Input fields fordeleteRef
input
(DeleteRefInput!
)deleteRef
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
deleteTeamDiscussionDeletes a team discussion.
Input fields fordeleteTeamDiscussion
input
(DeleteTeamDiscussionInput!
)deleteTeamDiscussion
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
Deletes a team discussion comment.
Input fields fordeleteTeamDiscussionComment
Return fields for deleteTeamDiscussionComment
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
deleteUserListDeletes a user list.
Input fields fordeleteUserList
input
(DeleteUserListInput!
)deleteUserList
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
user
(User
)
The owner of the list that will be deleted.
dequeuePullRequestRemove a pull request from the merge queue.
Input fields fordequeuePullRequest
input
(DequeuePullRequestInput!
)dequeuePullRequest
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
mergeQueueEntry
(MergeQueueEntry
)
The merge queue entry of the dequeued pull request.
disablePullRequestAutoMergeDisable auto merge on the given pull request.
Input fields fordisablePullRequestAutoMerge
Return fields for disablePullRequestAutoMerge
Name Description
actor
(Actor
)
Identifies the actor who performed the event.
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
pullRequest
(PullRequest
)
The pull request auto merge was disabled on.
enablePullRequestAutoMergeEnable the default auto-merge on a pull request.
Input fields forenablePullRequestAutoMerge
input
(EnablePullRequestAutoMergeInput!
)enablePullRequestAutoMerge
Name Description
actor
(Actor
)
Identifies the actor who performed the event.
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
pullRequest
(PullRequest
)
The pull request auto-merge was enabled on.
enqueuePullRequestAdd a pull request to the merge queue.
Input fields forenqueuePullRequest
input
(EnqueuePullRequestInput!
)enqueuePullRequest
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
mergeQueueEntry
(MergeQueueEntry
)
The merge queue entry for the enqueued pull request.
followOrganizationFollow an organization.
Input fields forfollowOrganization
input
(FollowOrganizationInput!
)followOrganization
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
organization
(Organization
)
The organization that was followed.
followUserFollow a user.
Input fields forfollowUser
input
(FollowUserInput!
)followUser
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
user
(User
)
The user that was followed.
grantMigratorRoleGrant the migrator role to a user or a team.
Input fields forgrantMigratorRole
input
(GrantMigratorRoleInput!
)grantMigratorRole
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
success
(Boolean
)
Did the operation succeed?.
importProjectCreates a new project by importing columns and a list of issues/PRs.
Input fields forimportProject
input
(ImportProjectInput!
)importProject
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
project
(Project
)
The new Project!.
linkProjectV2ToTeamLinks a project to a team.
Input fields forlinkProjectV2ToTeam
input
(LinkProjectV2ToTeamInput!
)linkProjectV2ToTeam
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
team
(Team
)
The team the project is linked to.
lockLockableLock a lockable object.
Input fields forlockLockable
input
(LockLockableInput!
)lockLockable
Name Description
actor
(Actor
)
Identifies the actor who performed the event.
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
lockedRecord
(Lockable
)
The item that was locked.
Mark a discussion comment as the chosen answer for discussions in an answerable category.
Input fields formarkDiscussionCommentAsAnswer
Return fields for markDiscussionCommentAsAnswer
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
discussion
(Discussion
)
The discussion that includes the chosen comment.
markFileAsViewedMark a pull request file as viewed.
Input fields formarkFileAsViewed
input
(MarkFileAsViewedInput!
)markFileAsViewed
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
pullRequest
(PullRequest
)
The updated pull request.
markProjectV2AsTemplateMark a project as a template. Note that only projects which are owned by an Organization can be marked as a template.
Input fields formarkProjectV2AsTemplate
input
(MarkProjectV2AsTemplateInput!
)markProjectV2AsTemplate
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
projectV2
(ProjectV2
)
The project.
mergeBranchMerge a head into a branch.
Input fields formergeBranch
input
(MergeBranchInput!
)mergeBranch
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
mergeCommit
(Commit
)
The resulting merge Commit.
mergePullRequestMerge a pull request.
Input fields formergePullRequest
input
(MergePullRequestInput!
)mergePullRequest
Name Description
actor
(Actor
)
Identifies the actor who performed the event.
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
pullRequest
(PullRequest
)
The pull request that was merged.
Minimizes a comment on an Issue, Commit, Pull Request, or Gist.
Input fields forminimizeComment
input
(MinimizeCommentInput!
)minimizeComment
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
minimizedComment
(Minimizable
)
The comment that was minimized.
moveProjectCardMoves a project card to another place.
Input fields formoveProjectCard
input
(MoveProjectCardInput!
)moveProjectCard
Name Description
cardEdge
(ProjectCardEdge
)
The new edge of the moved card.
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
moveProjectColumnMoves a project column to another place.
Input fields formoveProjectColumn
input
(MoveProjectColumnInput!
)moveProjectColumn
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
columnEdge
(ProjectColumnEdge
)
The new edge of the moved column.
pinEnvironmentPin an environment to a repository.
Input fields forpinEnvironment
input
(PinEnvironmentInput!
)pinEnvironment
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
environment
(Environment
)
The environment that was pinned.
pinnedEnvironment
(PinnedEnvironment
)
The pinned environment if we pinned.
pinIssuePin an issue to a repository.
Input fields forpinIssue
input
(PinIssueInput!
)pinIssue
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
issue
(Issue
)
The issue that was pinned.
Publish an existing sponsorship tier that is currently still a draft to a GitHub Sponsors profile.
Input fields forpublishSponsorsTier
input
(PublishSponsorsTierInput!
)publishSponsorsTier
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
sponsorsTier
(SponsorsTier
)
The tier that was published.
regenerateVerifiableDomainTokenRegenerates a verifiable domain's verification token.
Input fields forregenerateVerifiableDomainToken
Return fields for regenerateVerifiableDomainToken
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
verificationToken
(String
)
The verification token that was generated.
rejectDeploymentsReject all pending deployments under one or more environments.
Input fields forrejectDeployments
input
(RejectDeploymentsInput!
)rejectDeployments
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
deployments
([Deployment!]
)
The affected deployments.
removeBlockedByRemoves a 'blocked by' relationship from an issue.
Input fields forremoveBlockedBy
input
(RemoveBlockedByInput!
)removeBlockedBy
Name Description
blockingIssue
(Issue
)
The previously blocking issue.
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
issue
(Issue
)
The previously blocked issue.
removeEnterpriseAdminRemoves an administrator from the enterprise.
Input fields forremoveEnterpriseAdmin
input
(RemoveEnterpriseAdminInput!
)removeEnterpriseAdmin
Name Description
admin
(User
)
The user who was removed as an administrator.
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
enterprise
(Enterprise
)
The updated enterprise.
message
(String
)
A message confirming the result of removing an administrator.
viewer
(User
)
The viewer performing the mutation.
removeEnterpriseIdentityProviderRemoves the identity provider from an enterprise. Owners of enterprises both with and without Enterprise Managed Users may use this mutation.
Input fields forremoveEnterpriseIdentityProvider
Return fields for removeEnterpriseIdentityProvider
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
identityProvider
(EnterpriseIdentityProvider
)
The identity provider that was removed from the enterprise.
removeEnterpriseMemberRemoves a user from all organizations within the enterprise.
Input fields forremoveEnterpriseMember
input
(RemoveEnterpriseMemberInput!
)removeEnterpriseMember
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
enterprise
(Enterprise
)
The updated enterprise.
user
(User
)
The user that was removed from the enterprise.
viewer
(User
)
The viewer performing the mutation.
removeEnterpriseOrganizationRemoves an organization from the enterprise.
Input fields forremoveEnterpriseOrganization
Return fields for removeEnterpriseOrganization
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
enterprise
(Enterprise
)
The updated enterprise.
organization
(Organization
)
The organization that was removed from the enterprise.
viewer
(User
)
The viewer performing the mutation.
removeEnterpriseSupportEntitlementRemoves a support entitlement from an enterprise member.
Input fields forremoveEnterpriseSupportEntitlement
Return fields for removeEnterpriseSupportEntitlement
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
message
(String
)
A message confirming the result of removing the support entitlement.
removeLabelsFromLabelableRemoves labels from a Labelable object.
Input fields forremoveLabelsFromLabelable
input
(RemoveLabelsFromLabelableInput!
)removeLabelsFromLabelable
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
labelable
(Labelable
)
The Labelable the labels were removed from.
removeOutsideCollaboratorRemoves outside collaborator from all repositories in an organization.
Input fields forremoveOutsideCollaborator
input
(RemoveOutsideCollaboratorInput!
)removeOutsideCollaborator
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
removedUser
(User
)
The user that was removed as an outside collaborator.
removeReactionRemoves a reaction from a subject.
Input fields forremoveReaction
input
(RemoveReactionInput!
)removeReaction
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
reaction
(Reaction
)
The reaction object.
reactionGroups
([ReactionGroup!]
)
The reaction groups for the subject.
subject
(Reactable
)
The reactable subject.
removeStarRemoves a star from a Starrable.
Input fields forremoveStar
input
(RemoveStarInput!
)removeStar
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
starrable
(Starrable
)
The starrable.
removeSubIssueRemoves a sub-issue from a given issue.
Input fields forremoveSubIssue
input
(RemoveSubIssueInput!
)removeSubIssue
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
issue
(Issue
)
The parent of the sub-issue.
subIssue
(Issue
)
The sub-issue of the parent.
removeUpvoteRemove an upvote to a discussion or discussion comment.
Input fields forremoveUpvote
input
(RemoveUpvoteInput!
)removeUpvote
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
subject
(Votable
)
The votable subject.
reopenDiscussionReopen a discussion.
Input fields forreopenDiscussion
input
(ReopenDiscussionInput!
)reopenDiscussion
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
discussion
(Discussion
)
The discussion that was reopened.
reopenIssueReopen a issue.
Input fields forreopenIssue
input
(ReopenIssueInput!
)reopenIssue
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
issue
(Issue
)
The issue that was opened.
reopenPullRequestReopen a pull request.
Input fields forreopenPullRequest
input
(ReopenPullRequestInput!
)reopenPullRequest
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
pullRequest
(PullRequest
)
The pull request that was reopened.
reorderEnvironmentReorder a pinned repository environment.
Input fields forreorderEnvironment
input
(ReorderEnvironmentInput!
)reorderEnvironment
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
environment
(Environment
)
The environment that was reordered.
reprioritizeSubIssueReprioritizes a sub-issue to a different position in the parent list.
Input fields forreprioritizeSubIssue
input
(ReprioritizeSubIssueInput!
)reprioritizeSubIssue
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
issue
(Issue
)
The parent issue that the sub-issue was reprioritized in.
requestReviewsSet review requests on a pull request.
Input fields forrequestReviews
input
(RequestReviewsInput!
)requestReviews
Name Description
actor
(Actor
)
Identifies the actor who performed the event.
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
pullRequest
(PullRequest
)
The pull request that is getting requests.
requestedReviewersEdge
(UserEdge
)
The edge from the pull request to the requested reviewers.
rerequestCheckSuiteRerequests an existing check suite.
Input fields forrerequestCheckSuite
input
(RerequestCheckSuiteInput!
)rerequestCheckSuite
Name Description
checkSuite
(CheckSuite
)
The requested check suite.
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
Retire a published payment tier from your GitHub Sponsors profile so it cannot be used to start new sponsorships.
Input fields forretireSponsorsTier
input
(RetireSponsorsTierInput!
)retireSponsorsTier
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
sponsorsTier
(SponsorsTier
)
The tier that was retired.
revertPullRequestCreate a pull request that reverts the changes from a merged pull request.
Input fields forrevertPullRequest
input
(RevertPullRequestInput!
)revertPullRequest
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
pullRequest
(PullRequest
)
The pull request that was reverted.
revertPullRequest
(PullRequest
)
The new pull request that reverts the input pull request.
revokeMigratorRoleRevoke the migrator role from a user or a team.
Input fields forrevokeMigratorRole
input
(RevokeMigratorRoleInput!
)revokeMigratorRole
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
success
(Boolean
)
Did the operation succeed?.
setOrganizationInteractionLimitSet an organization level interaction limit for an organization's public repositories.
Input fields forsetOrganizationInteractionLimit
Return fields for setOrganizationInteractionLimit
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
organization
(Organization
)
The organization that the interaction limit was set for.
setRepositoryInteractionLimitSets an interaction limit setting for a repository.
Input fields forsetRepositoryInteractionLimit
Return fields for setRepositoryInteractionLimit
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
repository
(Repository
)
The repository that the interaction limit was set for.
setUserInteractionLimitSet a user level interaction limit for an user's public repositories.
Input fields forsetUserInteractionLimit
input
(SetUserInteractionLimitInput!
)setUserInteractionLimit
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
user
(User
)
The user that the interaction limit was set for.
transferEnterpriseOrganizationTransfer an organization from one enterprise to another enterprise.
Input fields fortransferEnterpriseOrganization
Return fields for transferEnterpriseOrganization
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
organization
(Organization
)
The organization for which a transfer was initiated.
transferIssueTransfer an issue to a different repository.
Input fields fortransferIssue
input
(TransferIssueInput!
)transferIssue
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
issue
(Issue
)
The issue that was transferred.
unarchiveRepositoryUnarchives a repository.
Input fields forunarchiveRepository
input
(UnarchiveRepositoryInput!
)unarchiveRepository
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
repository
(Repository
)
The repository that was unarchived.
unfollowOrganizationUnfollow an organization.
Input fields forunfollowOrganization
input
(UnfollowOrganizationInput!
)unfollowOrganization
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
organization
(Organization
)
The organization that was unfollowed.
unfollowUserUnfollow a user.
Input fields forunfollowUser
input
(UnfollowUserInput!
)unfollowUser
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
user
(User
)
The user that was unfollowed.
unlinkProjectV2FromTeamUnlinks a project to a team.
Input fields forunlinkProjectV2FromTeam
input
(UnlinkProjectV2FromTeamInput!
)unlinkProjectV2FromTeam
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
team
(Team
)
The team the project is unlinked from.
unlockLockableUnlock a lockable object.
Input fields forunlockLockable
input
(UnlockLockableInput!
)unlockLockable
Name Description
actor
(Actor
)
Identifies the actor who performed the event.
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
unlockedRecord
(Lockable
)
The item that was unlocked.
Unmark a discussion comment as the chosen answer for discussions in an answerable category.
Input fields forunmarkDiscussionCommentAsAnswer
Return fields for unmarkDiscussionCommentAsAnswer
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
discussion
(Discussion
)
The discussion that includes the comment.
unmarkFileAsViewedUnmark a pull request file as viewed.
Input fields forunmarkFileAsViewed
input
(UnmarkFileAsViewedInput!
)unmarkFileAsViewed
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
pullRequest
(PullRequest
)
The updated pull request.
unmarkIssueAsDuplicateUnmark an issue as a duplicate of another issue.
Input fields forunmarkIssueAsDuplicate
input
(UnmarkIssueAsDuplicateInput!
)unmarkIssueAsDuplicate
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
duplicate
(IssueOrPullRequest
)
The issue or pull request that was marked as a duplicate.
Unminimizes a comment on an Issue, Commit, Pull Request, or Gist.
Input fields forunminimizeComment
input
(UnminimizeCommentInput!
)unminimizeComment
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
unminimizedComment
(Minimizable
)
The comment that was unminimized.
unpinIssueUnpin a pinned issue from a repository.
Input fields forunpinIssue
input
(UnpinIssueInput!
)unpinIssue
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
id
(ID
)
The id of the pinned issue that was unpinned.
issue
(Issue
)
The issue that was unpinned.
updateCheckRunUpdate a check run.
Input fields forupdateCheckRun
input
(UpdateCheckRunInput!
)updateCheckRun
Name Description
checkRun
(CheckRun
)
The updated check run.
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
updateDiscussionUpdate a discussion.
Input fields forupdateDiscussion
input
(UpdateDiscussionInput!
)updateDiscussion
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
discussion
(Discussion
)
The modified discussion.
Update the contents of a comment on a Discussion.
Input fields forupdateDiscussionComment
input
(UpdateDiscussionCommentInput!
)updateDiscussionComment
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
comment
(DiscussionComment
)
The modified discussion comment.
updateEnterpriseAdministratorRoleUpdates the role of an enterprise administrator.
Input fields forupdateEnterpriseAdministratorRole
Return fields for updateEnterpriseAdministratorRole
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
message
(String
)
A message confirming the result of changing the administrator's role.
updateEnterpriseDeployKeySettingSets whether deploy keys are allowed to be created and used for an enterprise.
Input fields forupdateEnterpriseDeployKeySetting
Return fields for updateEnterpriseDeployKeySetting
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
enterprise
(Enterprise
)
The enterprise with the updated deploy key setting.
message
(String
)
A message confirming the result of updating the deploy key setting.
Sets whether members can invite collaborators are enabled for an enterprise.
Input fields forupdateEnterpriseMembersCanInviteCollaboratorsSetting
Return fields for updateEnterpriseMembersCanInviteCollaboratorsSetting
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
enterprise
(Enterprise
)
The enterprise with the updated members can invite collaborators setting.
message
(String
)
A message confirming the result of updating the members can invite collaborators setting.
updateEnterpriseOrganizationProjectsSettingSets whether organization projects are enabled for an enterprise.
Input fields forupdateEnterpriseOrganizationProjectsSetting
Return fields for updateEnterpriseOrganizationProjectsSetting
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
enterprise
(Enterprise
)
The enterprise with the updated organization projects setting.
message
(String
)
A message confirming the result of updating the organization projects setting.
updateEnterpriseRepositoryProjectsSettingSets whether repository projects are enabled for a enterprise.
Input fields forupdateEnterpriseRepositoryProjectsSetting
Return fields for updateEnterpriseRepositoryProjectsSetting
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
enterprise
(Enterprise
)
The enterprise with the updated repository projects setting.
message
(String
)
A message confirming the result of updating the repository projects setting.
updateEnterpriseTeamDiscussionsSettingSets whether team discussions are enabled for an enterprise.
Input fields forupdateEnterpriseTeamDiscussionsSetting
Return fields for updateEnterpriseTeamDiscussionsSetting
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
enterprise
(Enterprise
)
The enterprise with the updated team discussions setting.
message
(String
)
A message confirming the result of updating the team discussions setting.
updateEnvironmentUpdates an environment.
Input fields forupdateEnvironment
input
(UpdateEnvironmentInput!
)updateEnvironment
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
environment
(Environment
)
The updated environment.
updateIssueUpdates an Issue.
Input fields forupdateIssue
input
(UpdateIssueInput!
)updateIssue
Name Description
actor
(Actor
)
Identifies the actor who performed the event.
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
issue
(Issue
)
The issue.
Updates an IssueComment object.
Input fields forupdateIssueComment
input
(UpdateIssueCommentInput!
)updateIssueComment
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
issueComment
(IssueComment
)
The updated comment.
updateIssueIssueTypeUpdates the issue type on an issue.
Input fields forupdateIssueIssueType
input
(UpdateIssueIssueTypeInput!
)updateIssueIssueType
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
issue
(Issue
)
The updated issue.
updateIssueTypeUpdate an issue type.
Input fields forupdateIssueType
input
(UpdateIssueTypeInput!
)updateIssueType
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
issueType
(IssueType
)
The updated issue type.
updateLabelUpdates an existing label.
Input fields forupdateLabel
input
(UpdateLabelInput!
)updateLabel
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
label
(Label
)
The updated label.
updateOrganizationWebCommitSignoffSettingSets whether contributors are required to sign off on web-based commits for repositories in an organization.
Input fields forupdateOrganizationWebCommitSignoffSetting
Return fields for updateOrganizationWebCommitSignoffSetting
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
message
(String
)
A message confirming the result of updating the web commit signoff setting.
organization
(Organization
)
The organization with the updated web commit signoff setting.
Toggle the setting for your GitHub Sponsors profile that allows other GitHub accounts to sponsor you on GitHub while paying for the sponsorship on Patreon. Only applicable when you have a GitHub Sponsors profile and have connected your GitHub account with Patreon.
Input fields forupdatePatreonSponsorability
Return fields for updatePatreonSponsorability
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
sponsorsListing
(SponsorsListing
)
The GitHub Sponsors profile.
updateProjectUpdates an existing project.
Input fields forupdateProject
input
(UpdateProjectInput!
)updateProject
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
project
(Project
)
The updated project.
updateProjectCardUpdates an existing project card.
Input fields forupdateProjectCard
input
(UpdateProjectCardInput!
)updateProjectCard
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
projectCard
(ProjectCard
)
The updated ProjectCard.
updateProjectColumnUpdates an existing project column.
Input fields forupdateProjectColumn
input
(UpdateProjectColumnInput!
)updateProjectColumn
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
projectColumn
(ProjectColumn
)
The updated project column.
updateProjectV2Updates an existing project.
Input fields forupdateProjectV2
input
(UpdateProjectV2Input!
)updateProjectV2
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
projectV2
(ProjectV2
)
The updated Project.
updateProjectV2ItemFieldValueThis mutation updates the value of a field for an item in a Project. Currently only single-select, text, number, date, and iteration fields are supported.
Input fields forupdateProjectV2ItemFieldValue
Return fields for updateProjectV2ItemFieldValue
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
projectV2Item
(ProjectV2Item
)
The updated item.
updateProjectV2ItemPositionThis mutation updates the position of the item in the project, where the position represents the priority of an item.
updatePullRequestUpdate a pull request.
Input fields forupdatePullRequest
input
(UpdatePullRequestInput!
)updatePullRequest
Name Description
actor
(Actor
)
Identifies the actor who performed the event.
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
pullRequest
(PullRequest
)
The updated pull request.
updatePullRequestBranchMerge or Rebase HEAD from upstream branch into pull request branch.
Input fields forupdatePullRequestBranch
input
(UpdatePullRequestBranchInput!
)updatePullRequestBranch
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
pullRequest
(PullRequest
)
The updated pull request.
Updates a pull request review comment.
updateRefUpdate a Git Ref.
Input fields forupdateRef
input
(UpdateRefInput!
)updateRef
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
ref
(Ref
)
The updated Ref.
updateRefsCreates, updates and/or deletes multiple refs in a repository.
This mutation takes a list of RefUpdate
s and performs these updates on the repository. All updates are performed atomically, meaning that if one of them is rejected, no other ref will be modified.
RefUpdate.beforeOid
specifies that the given reference needs to point to the given value before performing any updates. A value of 0000000000000000000000000000000000000000
can be used to verify that the references should not exist.
RefUpdate.afterOid
specifies the value that the given reference will point to after performing all updates. A value of 0000000000000000000000000000000000000000
can be used to delete a reference.
If RefUpdate.force
is set to true
, a non-fast-forward updates for the given reference will be allowed.
updateRefs
input
(UpdateRefsInput!
)updateRefs
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
updateRepositoryUpdate information about a repository.
Input fields forupdateRepository
input
(UpdateRepositoryInput!
)updateRepository
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
repository
(Repository
)
The updated repository.
updateRepositoryWebCommitSignoffSettingSets whether contributors are required to sign off on web-based commits for a repository.
Input fields forupdateRepositoryWebCommitSignoffSetting
Return fields for updateRepositoryWebCommitSignoffSetting
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
message
(String
)
A message confirming the result of updating the web commit signoff setting.
repository
(Repository
)
The updated repository.
Change visibility of your sponsorship and opt in or out of email updates from the maintainer.
Input fields forupdateSponsorshipPreferences
Return fields for updateSponsorshipPreferences
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
sponsorship
(Sponsorship
)
The sponsorship that was updated.
updateSubscriptionUpdates the state for subscribable subjects.
Input fields forupdateSubscription
input
(UpdateSubscriptionInput!
)updateSubscription
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
subscribable
(Subscribable
)
The input subscribable entity.
Updates a discussion comment.
Input fields forupdateTeamDiscussionComment
Return fields for updateTeamDiscussionComment
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
teamDiscussionComment
(TeamDiscussionComment
)
The updated comment.
updateTeamsRepositoryUpdate team repository.
Input fields forupdateTeamsRepository
input
(UpdateTeamsRepositoryInput!
)updateTeamsRepository
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
repository
(Repository
)
The repository that was updated.
teams
([Team!]
)
The teams granted permission on the repository.
updateTopicsReplaces the repository's topics with the given topics.
Input fields forupdateTopics
input
(UpdateTopicsInput!
)updateTopics
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
invalidTopicNames
([String!]
)
Names of the provided topics that are not valid.
repository
(Repository
)
The updated repository.
updateUserListUpdates an existing user list.
Input fields forupdateUserList
input
(UpdateUserListInput!
)updateUserList
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
list
(UserList
)
The list that was just updated.
updateUserListsForItemUpdates which of the viewer's lists an item belongs to.
Input fields forupdateUserListsForItem
input
(UpdateUserListsForItemInput!
)updateUserListsForItem
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
item
(UserListItems
)
The item that was added.
lists
([UserList!]
)
The lists to which this item belongs.
user
(User
)
The user who owns the lists.
verifyVerifiableDomainVerify that a verifiable domain has the expected DNS record.
Input fields forverifyVerifiableDomain
input
(VerifyVerifiableDomainInput!
)verifyVerifiableDomain
Name Description
clientMutationId
(String
)
A unique identifier for the client performing the mutation.
domain
(VerifiableDomain
)
The verifiable domain that was verified.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4