Skip to main content
POST
Prepare a managed-service disconnection review (browser session)

Authorizations

ankra_session
string
cookie
required

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

Path Parameters

instance_id
string<uuid>
required

Body

application/json

What a person states when preparing a disconnection. Every field is required; connection_names_instance_id may be null.

consumer_id
string<uuid>
required

The consumer to disconnect, among the instance's consumers.

expected_generation
integer<int64>
required

The instance generation the person reviewed.

Required range: x >= 1
timing
enum<string>
required

after_next_deploy: the application keeps working until its next deploy. now is refused while every application of the service shares one credential.

Available options:
after_next_deploy,
now
keep_network_access
boolean
required

True keeps the namespace admitted on the service's client port.

connection_names_instance_id
string<uuid> | null
required

Only when the review asks for a choice: the other connected service that gives the conventional names from now on; null otherwise.

connection_names_none
boolean
required

Only when the review asks for a choice: true when no service gives the conventional names from now on.

Response

The stored disconnection review, its plan and digest.

One disconnection of an application environment from a managed service, as its preparing actor sees it.

id
string<uuid>
required
instance_id
string<uuid>
required
plan
object
required

The reviewed statement of what a disconnection removes, keeps and cannot do. Every field is resolved by the server; the digest covers all of it.

digest
string
required
Pattern: ^sha256:[a-f0-9]{64}$
state
enum<string>
required
Available options:
pending,
expired,
in_progress,
settled
created_at
string<date-time>
required
expires_at
string<date-time>
required
confirmed_at
string<date-time> | null
required
phase
enum<string> | null
required
Available options:
draining,
removing,
revoking,
null
settled_at
string<date-time> | null
required
outcome
object | null
required

What the settled disconnection observed, and only what it observed.

running_pods
object | null
required

The pods in the environment's namespace that read the connection Secret now, read when the disconnection is served; not part of the plan or its digest. Null once settled, for an environment on another cluster, and when it could not be read.