Skip to main content
POST
Withdraw a pending application deployment removal (browser session)

Authorizations

ankra_session
string
cookie
required

Browser session. Mutations also require X-Ankra-CSRF.

Path Parameters

application_id
string
required

Body

application/json

Name the deployment to remove: the cluster it runs on and either the namespace it runs in (an installation) or the stack a deploy-wizard run created for it (a wizard deployment, which has no installation). Not both.

cluster_id
string
required
namespace
string

The installation's namespace.

stack_name
string

The wizard stack's name, for a deployment with no installation.

Response

The removal was taken back

The removal taken back: which deployment, what its installation reads again, when it is applied again, and where the change stands in Git.

removal_withdrawn
boolean
required
cluster_id
string
required
namespace
string
required

The installation's namespace; empty for a wizard stack.

status_assumed
boolean
required

No status was recorded with the removal (it was asked for before the status was kept), so status is deploying until the deployment is checked again.

applied_now
boolean
required

The cluster was not stopped, so the deployment is being applied again now rather than when the cluster starts.

commit_deferred
boolean
required

The change is recorded, and its Git commit waits for the cluster to sync. commit_sha and commit_url are then null.

commit_sha
string | null
required
commit_url
string | null
required
message
string
required

The same in a sentence or a few, for a terminal or a chat reply.

installation_id
string

Absent for a wizard stack, which has no installation.

stack_name
string

The wizard stack kept; absent for an installation.

status
string

The installation's status again: the one it had when the removal was asked for. Absent for a wizard stack.

commit_failure
string

Why the push to the Git repository failed, when it did. The removal is taken back all the same, and the next sync of the cluster carries the change to Git.