About mutations
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.
abortQueuedMigrations
Clear all of a customer's queued migrations.
Input fields for abortQueuedMigrations
input(AbortQueuedMigrationsInput!)
Return fields for abortQueuedMigrations
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| Did the operation succeed?. |
addAssigneesToAssignable
Adds assignees to an assignable object.
Input fields for addAssigneesToAssignable
input(AddAssigneesToAssignableInput!)
Return fields for addAssigneesToAssignable
| Name | Description |
|---|---|
| The item that was assigned. |
| A unique identifier for the client performing the mutation. |
addComment
Adds a comment to an Issue or Pull Request.
Input fields for addComment
input(AddCommentInput!)
Return fields for addComment
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The edge from the subject's comment connection. |
| The subject. |
| The edge from the subject's timeline connection. |
addDiscussionComment
Adds a comment to a Discussion, possibly as a reply to another comment.
Input fields for addDiscussionComment
input(AddDiscussionCommentInput!)
Return fields for addDiscussionComment
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The newly created discussion comment. |
addDiscussionPollVote
Vote for an option in a discussion poll.
Input fields for addDiscussionPollVote
input(AddDiscussionPollVoteInput!)
Return fields for addDiscussionPollVote
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The poll option that a vote was added to. |
addEnterpriseAdmin
Adds an administrator to the global enterprise account.
Input fields for addEnterpriseAdmin
input(AddEnterpriseAdminInput!)
Return fields for addEnterpriseAdmin
| Name | Description |
|---|---|
| The user who was added as an administrator. |
| A unique identifier for the client performing the mutation. |
| The updated enterprise. |
| The role of the administrator. |
| The viewer performing the mutation. |
addEnterpriseOrganizationMember
Adds enterprise members to an organization within the enterprise.
addLabelsToLabelable
Adds labels to a labelable object.
Input fields for addLabelsToLabelable
input(AddLabelsToLabelableInput!)