Skip to main content

enableLaunchMode

Enable launch mode for an environment.

enableLaunchMode(
input: AppEnvironmentEnableLaunchModeInput
): AppEnvironmentEnableLaunchModePayload

Example

mutation ($input: AppEnvironmentEnableLaunchModeInput) {
enableLaunchMode(input: $input) {
app {
active
createdAt
id
name
organizationId
repo
serviceStatus
supportPackage
type
typeId
}
environment {
active
appId
backupPolicyId
backupsSqlDumpTool
branch
createdAt
currentCommit
datacenter
dbOperationInProgress
defaultDomain
deploymentStrategy
id
isDBPartitioningEnabled
isFedramp
isHipaa
isK8sResident
isLiveBackupCopyAllowed
isMultisite
isOnLatestCode
isSubdirectoryMultisite
launchModeEndAt
launched
name
repo
type
uniqueLabel
wpcliStrategy
}
}
}

Arguments

enableLaunchMode.input ● AppEnvironmentEnableLaunchModeInput input common

The environment and launch mode settings to apply.

Type

AppEnvironmentEnableLaunchModePayload object common

The result of enabling launch mode.