Mutations
approveDeployments
Approve all pending deployments under one or more environments.
Input fields for approveDeployments
input(ApproveDeploymentsInput!)
Return fields for approveDeployments
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The affected deployments. |
createDeployment
Creates a new deployment event.
Input fields for createDeployment
input(CreateDeploymentInput!)
Return fields for createDeployment
| Name | Description |
|---|---|
| True if the default branch has been auto-merged into the deployment ref. |
| A unique identifier for the client performing the mutation. |
| The new deployment. |
createDeploymentStatus
Create a deployment status.
Input fields for createDeploymentStatus
input(CreateDeploymentStatusInput!)
Return fields for createDeploymentStatus
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The new deployment status. |
createEnvironment
Creates an environment or simply returns it if already exists.
Input fields for createEnvironment
input(CreateEnvironmentInput!)
Return fields for createEnvironment
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The new or existing environment. |
deleteDeployment
Deletes a deployment.
Input fields for deleteDeployment
input(DeleteDeploymentInput!)
Return fields for deleteDeployment
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
deleteEnvironment
Deletes an environment.
Input fields for deleteEnvironment
input(DeleteEnvironmentInput!)
Return fields for deleteEnvironment
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
pinEnvironment
Pin an environment to a repository.
Input fields for pinEnvironment
input(PinEnvironmentInput!)
Return fields for pinEnvironment
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The environment that was pinned. |
| The pinned environment if we pinned. |
rejectDeployments
Reject all pending deployments under one or more environments.
Input fields for rejectDeployments
input(RejectDeploymentsInput!)
Return fields for rejectDeployments
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |