Skip to main content

Mutations

acceptEnterpriseAdministratorInvitation#

Type: AcceptEnterpriseAdministratorInvitationPayload

Accepts a pending invitation for a user to become an administrator of an enterprise.

Arguments

NameDescription
input
AcceptEnterpriseAdministratorInvitationInput!

Parameters for AcceptEnterpriseAdministratorInvitation

acceptTopicSuggestion#

Type: AcceptTopicSuggestionPayload

Applies a suggested topic to the repository.

Arguments

NameDescription
input
AcceptTopicSuggestionInput!

Parameters for AcceptTopicSuggestion

addAssigneesToAssignable#

Type: AddAssigneesToAssignablePayload

Adds assignees to an assignable object.

Arguments

NameDescription
input
AddAssigneesToAssignableInput!

Parameters for AddAssigneesToAssignable

addComment#

Type: AddCommentPayload

Adds a comment to an Issue or Pull Request.

Arguments

NameDescription
input
AddCommentInput!

Parameters for AddComment

addEnterpriseSupportEntitlement#

Type: AddEnterpriseSupportEntitlementPayload

Adds a support entitlement to an enterprise member.

Arguments

NameDescription
input
AddEnterpriseSupportEntitlementInput!

Parameters for AddEnterpriseSupportEntitlement

addLabelsToLabelable#

Type: AddLabelsToLabelablePayload

Adds labels to a labelable object.

Arguments

NameDescription
input
AddLabelsToLabelableInput!

Parameters for AddLabelsToLabelable

addProjectCard#

Type: AddProjectCardPayload

Adds a card to a ProjectColumn. Either contentId or note must be provided but not both.

Arguments

NameDescription
input
AddProjectCardInput!

Parameters for AddProjectCard

addProjectColumn#

Type: AddProjectColumnPayload

Adds a column to a Project.

Arguments

NameDescription
input
AddProjectColumnInput!

Parameters for AddProjectColumn

addPullRequestReview#

Type: AddPullRequestReviewPayload

Adds a review to a Pull Request.

Arguments

NameDescription
input
AddPullRequestReviewInput!

Parameters for AddPullRequestReview

addPullRequestReviewComment#

Type: AddPullRequestReviewCommentPayload

Adds a comment to a review.

Arguments

NameDescription
input
AddPullRequestReviewCommentInput!

Parameters for AddPullRequestReviewComment

addPullRequestReviewThread#

Type: AddPullRequestReviewThreadPayload

Adds a new thread to a pending Pull Request Review.

Arguments

NameDescription
input
AddPullRequestReviewThreadInput!

Parameters for AddPullRequestReviewThread

addReaction#

Type: AddReactionPayload

Adds a reaction to a subject.

Arguments

NameDescription
input
AddReactionInput!

Parameters for AddReaction

addStar#

Type: AddStarPayload

Adds a star to a Starrable.

Arguments

NameDescription
input
AddStarInput!

Parameters for AddStar

addVerifiableDomain#

Type: AddVerifiableDomainPayload

Adds a verifiable domain to an owning account.

Arguments

NameDescription
input
AddVerifiableDomainInput!

Parameters for AddVerifiableDomain

approveVerifiableDomain#

Type: ApproveVerifiableDomainPayload

Approve a verifiable domain for notification delivery.

Arguments

NameDescription
input
ApproveVerifiableDomainInput!

Parameters for ApproveVerifiableDomain

archiveRepository#

Type: ArchiveRepositoryPayload

Marks a repository as archived.

Arguments

NameDescription
input
ArchiveRepositoryInput!

Parameters for ArchiveRepository

cancelEnterpriseAdminInvitation#

Type: CancelEnterpriseAdminInvitationPayload

Cancels a pending invitation for an administrator to join an enterprise.

Arguments

NameDescription
input
CancelEnterpriseAdminInvitationInput!

Parameters for CancelEnterpriseAdminInvitation

changeUserStatus#

Type: ChangeUserStatusPayload

Update your status on GitHub.

Arguments

NameDescription
input
ChangeUserStatusInput!

Parameters for ChangeUserStatus

clearLabelsFromLabelable#

Type: ClearLabelsFromLabelablePayload

Clears all labels from a labelable object.

Arguments

NameDescription
input
ClearLabelsFromLabelableInput!

Parameters for ClearLabelsFromLabelable

cloneProject#

Type: CloneProjectPayload

Creates a new project by cloning configuration from an existing project.

Arguments

NameDescription
input
CloneProjectInput!

Parameters for CloneProject

cloneTemplateRepository#

Type: CloneTemplateRepositoryPayload

Create a new repository with the same files and directory structure as a template repository.

Arguments

NameDescription
input
CloneTemplateRepositoryInput!

Parameters for CloneTemplateRepository

closeIssue#

Type: CloseIssuePayload

Close an issue.

Arguments

NameDescription
input
CloseIssueInput!

Parameters for CloseIssue

closePullRequest#

Type: ClosePullRequestPayload

Close a pull request.

Arguments

NameDescription
input
ClosePullRequestInput!

Parameters for ClosePullRequest

convertProjectCardNoteToIssue#

Type: ConvertProjectCardNoteToIssuePayload

Convert a project note card to one associated with a newly created issue.

Arguments

NameDescription
input
ConvertProjectCardNoteToIssueInput!

Parameters for ConvertProjectCardNoteToIssue

createBranchProtectionRule#

Type: CreateBranchProtectionRulePayload

Create a new branch protection rule

Arguments

NameDescription
input
CreateBranchProtectionRuleInput!

Parameters for CreateBranchProtectionRule

createCheckRun#

Type: CreateCheckRunPayload

Create a check run.

Arguments

NameDescription
input
CreateCheckRunInput!

Parameters for CreateCheckRun

createCheckSuite#

Type: CreateCheckSuitePayload

Create a check suite

Arguments

NameDescription
input
CreateCheckSuiteInput!

Parameters for CreateCheckSuite

createContentAttachment#

Type: CreateContentAttachmentPayload

Create a content attachment.

Arguments

NameDescription
input
CreateContentAttachmentInput!

Parameters for CreateContentAttachment

createDeployment#

Type: CreateDeploymentPayload

Creates a new deployment event.

Arguments

NameDescription
input
CreateDeploymentInput!

Parameters for CreateDeployment

createDeploymentStatus#

Type: CreateDeploymentStatusPayload

Create a deployment status.

Arguments

NameDescription
input
CreateDeploymentStatusInput!

Parameters for CreateDeploymentStatus

createEnterpriseOrganization#

Type: CreateEnterpriseOrganizationPayload

Creates an organization as part of an enterprise account.

Arguments

NameDescription
input
CreateEnterpriseOrganizationInput!

Parameters for CreateEnterpriseOrganization

createIpAllowListEntry#

Type: CreateIpAllowListEntryPayload

Creates a new IP allow list entry.

Arguments

NameDescription
input
CreateIpAllowListEntryInput!

Parameters for CreateIpAllowListEntry

createIssue#

Type: CreateIssuePayload

Creates a new issue.

Arguments

NameDescription
input
CreateIssueInput!

Parameters for CreateIssue

createLabel#

Type: CreateLabelPayload

Creates a new label.

Arguments

NameDescription
input
CreateLabelInput!

Parameters for CreateLabel

createProject#

Type: CreateProjectPayload

Creates a new project.

Arguments

NameDescription
input
CreateProjectInput!

Parameters for CreateProject

createPullRequest#

Type: CreatePullRequestPayload

Create a new pull request

Arguments

NameDescription
input
CreatePullRequestInput!

Parameters for CreatePullRequest

createRef#

Type: CreateRefPayload

Create a new Git Ref.

Arguments

NameDescription
input
CreateRefInput!

Parameters for CreateRef

createRepository#

Type: CreateRepositoryPayload

Create a new repository.

Arguments

NameDescription
input
CreateRepositoryInput!

Parameters for CreateRepository

createTeamDiscussion#

Type: CreateTeamDiscussionPayload

Creates a new team discussion.

Arguments

NameDescription
input
CreateTeamDiscussionInput!

Parameters for CreateTeamDiscussion

createTeamDiscussionComment#

Type: CreateTeamDiscussionCommentPayload

Creates a new team discussion comment.

Arguments

NameDescription
input
CreateTeamDiscussionCommentInput!

Parameters for CreateTeamDiscussionComment

declineTopicSuggestion#

Type: DeclineTopicSuggestionPayload

Rejects a suggested topic for the repository.

Arguments

NameDescription
input
DeclineTopicSuggestionInput!

Parameters for DeclineTopicSuggestion

deleteBranchProtectionRule#

Type: DeleteBranchProtectionRulePayload

Delete a branch protection rule

Arguments

NameDescription
input
DeleteBranchProtectionRuleInput!

Parameters for DeleteBranchProtectionRule

deleteDeployment#

Type: DeleteDeploymentPayload

Deletes a deployment.

Arguments

NameDescription
input
DeleteDeploymentInput!

Parameters for DeleteDeployment

deleteIpAllowListEntry#

Type: DeleteIpAllowListEntryPayload

Deletes an IP allow list entry.

Arguments

NameDescription
input
DeleteIpAllowListEntryInput!

Parameters for DeleteIpAllowListEntry

deleteIssue#

Type: DeleteIssuePayload

Deletes an Issue object.

Arguments

NameDescription
input
DeleteIssueInput!

Parameters for DeleteIssue

deleteIssueComment#

Type: DeleteIssueCommentPayload

Deletes an IssueComment object.

Arguments

NameDescription
input
DeleteIssueCommentInput!

Parameters for DeleteIssueComment

deleteLabel#

Type: DeleteLabelPayload

Deletes a label.

Arguments

NameDescription
input
DeleteLabelInput!

Parameters for DeleteLabel

deletePackageVersion#

Type: DeletePackageVersionPayload

Delete a package version.

Arguments

NameDescription
input
DeletePackageVersionInput!

Parameters for DeletePackageVersion

deleteProject#

Type: DeleteProjectPayload

Deletes a project.

Arguments

NameDescription
input
DeleteProjectInput!

Parameters for DeleteProject

deleteProjectCard#

Type: DeleteProjectCardPayload

Deletes a project card.

Arguments

NameDescription
input
DeleteProjectCardInput!

Parameters for DeleteProjectCard

deleteProjectColumn#

Type: DeleteProjectColumnPayload

Deletes a project column.

Arguments

NameDescription
input
DeleteProjectColumnInput!

Parameters for DeleteProjectColumn

deletePullRequestReview#

Type: DeletePullRequestReviewPayload

Deletes a pull request review.

Arguments

NameDescription
input
DeletePullRequestReviewInput!

Parameters for DeletePullRequestReview

deletePullRequestReviewComment#

Type: DeletePullRequestReviewCommentPayload

Deletes a pull request review comment.

Arguments

NameDescription
input
DeletePullRequestReviewCommentInput!

Parameters for DeletePullRequestReviewComment

deleteRef#

Type: DeleteRefPayload

Delete a Git Ref.

Arguments

NameDescription
input
DeleteRefInput!

Parameters for DeleteRef

deleteTeamDiscussion#

Type: DeleteTeamDiscussionPayload

Deletes a team discussion.

Arguments

NameDescription
input
DeleteTeamDiscussionInput!

Parameters for DeleteTeamDiscussion

deleteTeamDiscussionComment#

Type: DeleteTeamDiscussionCommentPayload

Deletes a team discussion comment.

Arguments

NameDescription
input
DeleteTeamDiscussionCommentInput!

Parameters for DeleteTeamDiscussionComment

deleteVerifiableDomain#

Type: DeleteVerifiableDomainPayload

Deletes a verifiable domain.

Arguments

NameDescription
input
DeleteVerifiableDomainInput!

Parameters for DeleteVerifiableDomain

disablePullRequestAutoMerge#

Type: DisablePullRequestAutoMergePayload

Disable auto merge on the given pull request

Arguments

NameDescription
input
DisablePullRequestAutoMergeInput!

Parameters for DisablePullRequestAutoMerge

dismissPullRequestReview#

Type: DismissPullRequestReviewPayload

Dismisses an approved or rejected pull request review.

Arguments

NameDescription
input
DismissPullRequestReviewInput!

Parameters for DismissPullRequestReview

enablePullRequestAutoMerge#

Type: EnablePullRequestAutoMergePayload

Enable the default auto-merge on a pull request.

Arguments

NameDescription
input
EnablePullRequestAutoMergeInput!

Parameters for EnablePullRequestAutoMerge

followUser#

Type: FollowUserPayload

Follow a user.

Arguments

NameDescription
input
FollowUserInput!

Parameters for FollowUser

importProject#

Type: ImportProjectPayload

Creates a new project by importing columns and a list of issues/PRs.

Arguments

NameDescription
input
ImportProjectInput!

Parameters for ImportProject

inviteEnterpriseAdmin#

Type: InviteEnterpriseAdminPayload

Invite someone to become an administrator of the enterprise.

Arguments

NameDescription
input
InviteEnterpriseAdminInput!

Parameters for InviteEnterpriseAdmin

linkRepositoryToProject#

Type: LinkRepositoryToProjectPayload

Creates a repository link for a project.

Arguments

NameDescription
input
LinkRepositoryToProjectInput!

Parameters for LinkRepositoryToProject

lockLockable#

Type: LockLockablePayload

Lock a lockable object

Arguments

NameDescription
input
LockLockableInput!

Parameters for LockLockable

markFileAsViewed#

Type: MarkFileAsViewedPayload

Mark a pull request file as viewed

Arguments

NameDescription
input
MarkFileAsViewedInput!

Parameters for MarkFileAsViewed

markPullRequestReadyForReview#

Type: MarkPullRequestReadyForReviewPayload

Marks a pull request ready for review.

Arguments

NameDescription
input
MarkPullRequestReadyForReviewInput!

Parameters for MarkPullRequestReadyForReview

mergeBranch#

Type: MergeBranchPayload

Merge a head into a branch.

Arguments

NameDescription
input
MergeBranchInput!

Parameters for MergeBranch

mergePullRequest#

Type: MergePullRequestPayload

Merge a pull request.

Arguments

NameDescription
input
MergePullRequestInput!

Parameters for MergePullRequest

minimizeComment#

Type: MinimizeCommentPayload

Minimizes a comment on an Issue, Commit, Pull Request, or Gist

Arguments

NameDescription
input
MinimizeCommentInput!

Parameters for MinimizeComment

moveProjectCard#

Type: MoveProjectCardPayload

Moves a project card to another place.

Arguments

NameDescription
input
MoveProjectCardInput!

Parameters for MoveProjectCard

moveProjectColumn#

Type: MoveProjectColumnPayload

Moves a project column to another place.

Arguments

NameDescription
input
MoveProjectColumnInput!

Parameters for MoveProjectColumn

pinIssue#

Type: PinIssuePayload

Pin an issue to a repository

Arguments

NameDescription
input
PinIssueInput!

Parameters for PinIssue

regenerateEnterpriseIdentityProviderRecoveryCodes#

Type: RegenerateEnterpriseIdentityProviderRecoveryCodesPayload

Regenerates the identity provider recovery codes for an enterprise

Arguments

NameDescription
input
RegenerateEnterpriseIdentityProviderRecoveryCodesInput!

Parameters for RegenerateEnterpriseIdentityProviderRecoveryCodes

regenerateVerifiableDomainToken#

Type: RegenerateVerifiableDomainTokenPayload

Regenerates a verifiable domain's verification token.

Arguments

NameDescription
input
RegenerateVerifiableDomainTokenInput!

Parameters for RegenerateVerifiableDomainToken

removeAssigneesFromAssignable#

Type: RemoveAssigneesFromAssignablePayload

Removes assignees from an assignable object.

Arguments

NameDescription
input
RemoveAssigneesFromAssignableInput!

Parameters for RemoveAssigneesFromAssignable

removeEnterpriseAdmin#

Type: RemoveEnterpriseAdminPayload

Removes an administrator from the enterprise.

Arguments

NameDescription
input
RemoveEnterpriseAdminInput!

Parameters for RemoveEnterpriseAdmin

removeEnterpriseIdentityProvider#

Type: RemoveEnterpriseIdentityProviderPayload

Removes the identity provider from an enterprise

Arguments

NameDescription
input
RemoveEnterpriseIdentityProviderInput!

Parameters for RemoveEnterpriseIdentityProvider

removeEnterpriseOrganization#

Type: RemoveEnterpriseOrganizationPayload

Removes an organization from the enterprise

Arguments

NameDescription
input
RemoveEnterpriseOrganizationInput!

Parameters for RemoveEnterpriseOrganization

removeEnterpriseSupportEntitlement#

Type: RemoveEnterpriseSupportEntitlementPayload

Removes a support entitlement from an enterprise member.

Arguments

NameDescription
input
RemoveEnterpriseSupportEntitlementInput!

Parameters for RemoveEnterpriseSupportEntitlement

removeLabelsFromLabelable#

Type: RemoveLabelsFromLabelablePayload

Removes labels from a Labelable object.

Arguments

NameDescription
input
RemoveLabelsFromLabelableInput!

Parameters for RemoveLabelsFromLabelable

removeOutsideCollaborator#

Type: RemoveOutsideCollaboratorPayload

Removes outside collaborator from all repositories in an organization.

Arguments

NameDescription
input
RemoveOutsideCollaboratorInput!

Parameters for RemoveOutsideCollaborator

removeReaction#

Type: RemoveReactionPayload

Removes a reaction from a subject.

Arguments

NameDescription
input
RemoveReactionInput!

Parameters for RemoveReaction

removeStar#

Type: RemoveStarPayload

Removes a star from a Starrable.

Arguments

NameDescription
input
RemoveStarInput!

Parameters for RemoveStar

reopenIssue#

Type: ReopenIssuePayload

Reopen a issue.

Arguments

NameDescription
input
ReopenIssueInput!

Parameters for ReopenIssue

reopenPullRequest#

Type: ReopenPullRequestPayload

Reopen a pull request.

Arguments

NameDescription
input
ReopenPullRequestInput!

Parameters for ReopenPullRequest

requestReviews#

Type: RequestReviewsPayload

Set review requests on a pull request.

Arguments

NameDescription
input
RequestReviewsInput!

Parameters for RequestReviews

rerequestCheckSuite#

Type: RerequestCheckSuitePayload

Rerequests an existing check suite.

Arguments

NameDescription
input
RerequestCheckSuiteInput!

Parameters for RerequestCheckSuite

resolveReviewThread#

Type: ResolveReviewThreadPayload

Marks a review thread as resolved.

Arguments

NameDescription
input
ResolveReviewThreadInput!

Parameters for ResolveReviewThread

setEnterpriseIdentityProvider#

Type: SetEnterpriseIdentityProviderPayload

Creates or updates the identity provider for an enterprise.

Arguments

NameDescription
input
SetEnterpriseIdentityProviderInput!

Parameters for SetEnterpriseIdentityProvider

setOrganizationInteractionLimit#

Type: SetOrganizationInteractionLimitPayload

Set an organization level interaction limit for an organization's public repositories.

Arguments

NameDescription
input
SetOrganizationInteractionLimitInput!

Parameters for SetOrganizationInteractionLimit

setRepositoryInteractionLimit#

Type: SetRepositoryInteractionLimitPayload

Sets an interaction limit setting for a repository.

Arguments

NameDescription
input
SetRepositoryInteractionLimitInput!

Parameters for SetRepositoryInteractionLimit

setUserInteractionLimit#

Type: SetUserInteractionLimitPayload

Set a user level interaction limit for an user's public repositories.

Arguments

NameDescription
input
SetUserInteractionLimitInput!

Parameters for SetUserInteractionLimit

submitPullRequestReview#

Type: SubmitPullRequestReviewPayload

Submits a pending pull request review.

Arguments

NameDescription
input
SubmitPullRequestReviewInput!

Parameters for SubmitPullRequestReview

transferIssue#

Type: TransferIssuePayload

Transfer an issue to a different repository

Arguments

NameDescription
input
TransferIssueInput!

Parameters for TransferIssue

unarchiveRepository#

Type: UnarchiveRepositoryPayload

Unarchives a repository.

Arguments

NameDescription
input
UnarchiveRepositoryInput!

Parameters for UnarchiveRepository

unfollowUser#

Type: UnfollowUserPayload

Unfollow a user.

Arguments

NameDescription
input
UnfollowUserInput!

Parameters for UnfollowUser

unlinkRepositoryFromProject#

Type: UnlinkRepositoryFromProjectPayload

Deletes a repository link from a project.

Arguments

NameDescription
input
UnlinkRepositoryFromProjectInput!

Parameters for UnlinkRepositoryFromProject

unlockLockable#

Type: UnlockLockablePayload

Unlock a lockable object

Arguments

NameDescription
input
UnlockLockableInput!

Parameters for UnlockLockable

unmarkFileAsViewed#

Type: UnmarkFileAsViewedPayload

Unmark a pull request file as viewed

Arguments

NameDescription
input
UnmarkFileAsViewedInput!

Parameters for UnmarkFileAsViewed

unmarkIssueAsDuplicate#

Type: UnmarkIssueAsDuplicatePayload

Unmark an issue as a duplicate of another issue.

Arguments

NameDescription
input
UnmarkIssueAsDuplicateInput!

Parameters for UnmarkIssueAsDuplicate

unminimizeComment#

Type: UnminimizeCommentPayload

Unminimizes a comment on an Issue, Commit, Pull Request, or Gist

Arguments

NameDescription
input
UnminimizeCommentInput!

Parameters for UnminimizeComment

unpinIssue#

Type: UnpinIssuePayload

Unpin a pinned issue from a repository

Arguments

NameDescription
input
UnpinIssueInput!

Parameters for UnpinIssue

unresolveReviewThread#

Type: UnresolveReviewThreadPayload

Marks a review thread as unresolved.

Arguments

NameDescription
input
UnresolveReviewThreadInput!

Parameters for UnresolveReviewThread

updateBranchProtectionRule#

Type: UpdateBranchProtectionRulePayload

Create a new branch protection rule

Arguments

NameDescription
input
UpdateBranchProtectionRuleInput!

Parameters for UpdateBranchProtectionRule

updateCheckRun#

Type: UpdateCheckRunPayload

Update a check run

Arguments

NameDescription
input
UpdateCheckRunInput!

Parameters for UpdateCheckRun

updateCheckSuitePreferences#

Type: UpdateCheckSuitePreferencesPayload

Modifies the settings of an existing check suite

Arguments

NameDescription
input
UpdateCheckSuitePreferencesInput!

Parameters for UpdateCheckSuitePreferences

updateEnterpriseAdministratorRole#

Type: UpdateEnterpriseAdministratorRolePayload

Updates the role of an enterprise administrator.

Arguments

NameDescription
input
UpdateEnterpriseAdministratorRoleInput!

Parameters for UpdateEnterpriseAdministratorRole

updateEnterpriseAllowPrivateRepositoryForkingSetting#

Type: UpdateEnterpriseAllowPrivateRepositoryForkingSettingPayload

Sets whether private repository forks are enabled for an enterprise.

Arguments

NameDescription
input
UpdateEnterpriseAllowPrivateRepositoryForkingSettingInput!

Parameters for UpdateEnterpriseAllowPrivateRepositoryForkingSetting

updateEnterpriseDefaultRepositoryPermissionSetting#

Type: UpdateEnterpriseDefaultRepositoryPermissionSettingPayload

Sets the default repository permission for organizations in an enterprise.

Arguments

NameDescription
input
UpdateEnterpriseDefaultRepositoryPermissionSettingInput!

Parameters for UpdateEnterpriseDefaultRepositoryPermissionSetting

updateEnterpriseMembersCanChangeRepositoryVisibilitySetting#

Type: UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload

Sets whether organization members with admin permissions on a repository can change repository visibility.

Arguments

NameDescription
input
UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingInput!

Parameters for UpdateEnterpriseMembersCanChangeRepositoryVisibilitySetting

updateEnterpriseMembersCanCreateRepositoriesSetting#

Type: UpdateEnterpriseMembersCanCreateRepositoriesSettingPayload

Sets the members can create repositories setting for an enterprise.

Arguments

NameDescription
input
UpdateEnterpriseMembersCanCreateRepositoriesSettingInput!

Parameters for UpdateEnterpriseMembersCanCreateRepositoriesSetting

updateEnterpriseMembersCanDeleteIssuesSetting#

Type: UpdateEnterpriseMembersCanDeleteIssuesSettingPayload

Sets the members can delete issues setting for an enterprise.

Arguments

NameDescription
input
UpdateEnterpriseMembersCanDeleteIssuesSettingInput!

Parameters for UpdateEnterpriseMembersCanDeleteIssuesSetting

updateEnterpriseMembersCanDeleteRepositoriesSetting#

Type: UpdateEnterpriseMembersCanDeleteRepositoriesSettingPayload

Sets the members can delete repositories setting for an enterprise.

Arguments

NameDescription
input
UpdateEnterpriseMembersCanDeleteRepositoriesSettingInput!

Parameters for UpdateEnterpriseMembersCanDeleteRepositoriesSetting

updateEnterpriseMembersCanInviteCollaboratorsSetting#

Type: UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload

Sets whether members can invite collaborators are enabled for an enterprise.

Arguments

NameDescription
input
UpdateEnterpriseMembersCanInviteCollaboratorsSettingInput!

Parameters for UpdateEnterpriseMembersCanInviteCollaboratorsSetting

updateEnterpriseMembersCanMakePurchasesSetting#

Type: UpdateEnterpriseMembersCanMakePurchasesSettingPayload

Sets whether or not an organization admin can make purchases.

Arguments

NameDescription
input
UpdateEnterpriseMembersCanMakePurchasesSettingInput!

Parameters for UpdateEnterpriseMembersCanMakePurchasesSetting

updateEnterpriseMembersCanUpdateProtectedBranchesSetting#

Type: UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingPayload

Sets the members can update protected branches setting for an enterprise.

Arguments

NameDescription
input
UpdateEnterpriseMembersCanUpdateProtectedBranchesSettingInput!

Parameters for UpdateEnterpriseMembersCanUpdateProtectedBranchesSetting

updateEnterpriseMembersCanViewDependencyInsightsSetting#

Type: UpdateEnterpriseMembersCanViewDependencyInsightsSettingPayload

Sets the members can view dependency insights for an enterprise.

Arguments

NameDescription
input
UpdateEnterpriseMembersCanViewDependencyInsightsSettingInput!

Parameters for UpdateEnterpriseMembersCanViewDependencyInsightsSetting

updateEnterpriseOrganizationProjectsSetting#

Type: UpdateEnterpriseOrganizationProjectsSettingPayload

Sets whether organization projects are enabled for an enterprise.

Arguments

NameDescription
input
UpdateEnterpriseOrganizationProjectsSettingInput!

Parameters for UpdateEnterpriseOrganizationProjectsSetting

updateEnterpriseProfile#

Type: UpdateEnterpriseProfilePayload

Updates an enterprise's profile.

Arguments

NameDescription
input
UpdateEnterpriseProfileInput!

Parameters for UpdateEnterpriseProfile

updateEnterpriseRepositoryProjectsSetting#

Type: UpdateEnterpriseRepositoryProjectsSettingPayload

Sets whether repository projects are enabled for a enterprise.

Arguments

NameDescription
input
UpdateEnterpriseRepositoryProjectsSettingInput!

Parameters for UpdateEnterpriseRepositoryProjectsSetting

updateEnterpriseTeamDiscussionsSetting#

Type: UpdateEnterpriseTeamDiscussionsSettingPayload

Sets whether team discussions are enabled for an enterprise.

Arguments

NameDescription
input
UpdateEnterpriseTeamDiscussionsSettingInput!

Parameters for UpdateEnterpriseTeamDiscussionsSetting

updateEnterpriseTwoFactorAuthenticationRequiredSetting#

Type: UpdateEnterpriseTwoFactorAuthenticationRequiredSettingPayload

Sets whether two factor authentication is required for all users in an enterprise.

Arguments

NameDescription
input
UpdateEnterpriseTwoFactorAuthenticationRequiredSettingInput!

Parameters for UpdateEnterpriseTwoFactorAuthenticationRequiredSetting

updateIpAllowListEnabledSetting#

Type: UpdateIpAllowListEnabledSettingPayload

Sets whether an IP allow list is enabled on an owner.

Arguments

NameDescription
input
UpdateIpAllowListEnabledSettingInput!

Parameters for UpdateIpAllowListEnabledSetting

updateIpAllowListEntry#

Type: UpdateIpAllowListEntryPayload

Updates an IP allow list entry.

Arguments

NameDescription
input
UpdateIpAllowListEntryInput!

Parameters for UpdateIpAllowListEntry

updateIssue#

Type: UpdateIssuePayload

Updates an Issue.

Arguments

NameDescription
input
UpdateIssueInput!

Parameters for UpdateIssue

updateIssueComment#

Type: UpdateIssueCommentPayload

Updates an IssueComment object.

Arguments

NameDescription
input
UpdateIssueCommentInput!

Parameters for UpdateIssueComment

updateLabel#

Type: UpdateLabelPayload

Updates an existing label.

Arguments

NameDescription
input
UpdateLabelInput!

Parameters for UpdateLabel

updateNotificationRestrictionSetting#

Type: UpdateNotificationRestrictionSettingPayload

Update the setting to restrict notifications to only verified domains available to an owner.

Arguments

NameDescription
input
UpdateNotificationRestrictionSettingInput!

Parameters for UpdateNotificationRestrictionSetting

updateProject#

Type: UpdateProjectPayload

Updates an existing project.

Arguments

NameDescription
input
UpdateProjectInput!

Parameters for UpdateProject

updateProjectCard#

Type: UpdateProjectCardPayload

Updates an existing project card.

Arguments

NameDescription
input
UpdateProjectCardInput!

Parameters for UpdateProjectCard

updateProjectColumn#

Type: UpdateProjectColumnPayload

Updates an existing project column.

Arguments

NameDescription
input
UpdateProjectColumnInput!

Parameters for UpdateProjectColumn

updatePullRequest#

Type: UpdatePullRequestPayload

Update a pull request

Arguments

NameDescription
input
UpdatePullRequestInput!

Parameters for UpdatePullRequest

updatePullRequestReview#

Type: UpdatePullRequestReviewPayload

Updates the body of a pull request review.

Arguments

NameDescription
input
UpdatePullRequestReviewInput!

Parameters for UpdatePullRequestReview

updatePullRequestReviewComment#

Type: UpdatePullRequestReviewCommentPayload

Updates a pull request review comment.

Arguments

NameDescription
input
UpdatePullRequestReviewCommentInput!

Parameters for UpdatePullRequestReviewComment

updateRef#

Type: UpdateRefPayload

Update a Git Ref.

Arguments

NameDescription
input
UpdateRefInput!

Parameters for UpdateRef

updateRefs#

Type: UpdateRefsPayload

Creates, updates and/or deletes multiple refs in a repository.

This mutation takes a list of RefUpdates 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.

Arguments

NameDescription
input
UpdateRefsInput!

Parameters for UpdateRefs

updateRepository#

Type: UpdateRepositoryPayload

Update information about a repository.

Arguments

NameDescription
input
UpdateRepositoryInput!

Parameters for UpdateRepository

updateSubscription#

Type: UpdateSubscriptionPayload

Updates the state for subscribable subjects.

Arguments

NameDescription
input
UpdateSubscriptionInput!

Parameters for UpdateSubscription

updateTeamDiscussion#

Type: UpdateTeamDiscussionPayload

Updates a team discussion.

Arguments

NameDescription
input
UpdateTeamDiscussionInput!

Parameters for UpdateTeamDiscussion

updateTeamDiscussionComment#

Type: UpdateTeamDiscussionCommentPayload

Updates a discussion comment.

Arguments

NameDescription
input
UpdateTeamDiscussionCommentInput!

Parameters for UpdateTeamDiscussionComment

updateTeamReviewAssignment#

Type: UpdateTeamReviewAssignmentPayload

Updates team review assignment.

Arguments

NameDescription
input
UpdateTeamReviewAssignmentInput!

Parameters for UpdateTeamReviewAssignment

updateTopics#

Type: UpdateTopicsPayload

Replaces the repository's topics with the given topics.

Arguments

NameDescription
input
UpdateTopicsInput!

Parameters for UpdateTopics

verifyVerifiableDomain#

Type: VerifyVerifiableDomainPayload

Verify that a verifiable domain has the expected DNS record.

Arguments

NameDescription
input
VerifyVerifiableDomainInput!

Parameters for VerifyVerifiableDomain