Chief Tools Logo

Mutations

Mutations modify server-side data. Use them to create, update, or delete records. Each mutation returns the affected data so you can read the result in the same request. Learn more

ping
Playing a game or just testing? This mutation always returns the string "pong" in it's response field.
preferenceReset
Reset a preference to it's default value.
preferenceSet
Set a preference value.
appCreate
Create a new application.
appUpdate
Update a application.
appDelete
Delete an application.
appMove
Move an application to another team. You must own both teams. The scripts connected to the environments are copied to the other team and the application is disconnected from Sentry. The other team needs an integration with access to the repository of the application.
appSentryUpdate
Connect the app to Sentry projects (or disconnect it) to report releases and deploys.
appServerCreate
Create a new server.
appServerUpdate
Update a server.
appServerDelete
Delete a server.
appServerRegenerateKeyPair
Generate a new key pair for a server.
appServerTestConnection
Create a new server.
appDeploymentCancel
Cancel a queued or running deployment, a step that is running finishes and the remaining steps are cancelled.
appDeploymentCreate
Create a new deployment.
appDeploymentCreateRollback
Create a new rollback deployment.
appDeploymentCreateByTag
Create a new deployment by tag name.
appDeploymentCreateByBranch
Create a new deployment by branch name.
appDeploymentCreateByCommit
Create a new deployment by commit SHA.
appDeploymentCreateByDeployment
Create a new deployment based on a previous deployment.
appEnvironmentCreate
Create a new environment.
appEnvironmentUpdate
Update a environment.
appEnvironmentDelete
Delete an environment.
appEnvironmentRegenerateTrigger
Regenerate the trigger URL.
appEnvironmentUpdateEnvFile
Update the .env file for an environment.
appEnvironmentConnectScript
Connect a script the the environment.
appEnvironmentDisconnectScript
Disconnect a script from the environment.
appEnvironmentCopyScripts
Replace the scripts of an environment with those of another environment of the team, like the order and strategies.
appEnvironmentUpdateScriptOrder
Update the order of the scripts in a environment.
appEnvironmentUpdateScriptStrategy
Update the strategy of a script connected to an environment.
scriptCreate
Create a new script.
scriptUpdate
Update a script.
scriptDelete
Delete a script.
githubInstallationUnlink
Stop using a GitHub app installation for the team, apps that deploy from its repositories can no longer deploy.
gitlabAccountDisconnect
Disconnect a GitLab account from the team, apps that deploy from its repositories can no longer deploy.
bitbucketAccountDisconnect
Disconnect a Bitbucket account from the team, apps that deploy from its repositories can no longer deploy.
sentryInstallationDisconnect
Disconnect a Sentry organization from the team, apps stop reporting releases to it.
githubInstallationsLink
Choose which of the GitHub app installations waiting after connecting with GitHub the team uses, the others are unlinked. Only available in the web app, after connecting with GitHub.
gitlabApplicationCreate
Add a self-hosted GitLab instance to connect GitLab accounts on it.
gitlabApplicationUpdate
Update a self-hosted GitLab instance.
gitlabApplicationDelete
Delete a self-hosted GitLab instance, this also disconnects the GitLab accounts on it.
sentrySelfHostedConnect
Connect the team to a self-hosted Sentry installation with the token of an internal integration.
activityNotificationsUpdate
Choose the deployment notifications you receive for the team.