Skip to main content
POST
Import a managed cluster

Authorizations

ankra_session
string
cookie
required

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

Headers

X-Ankra-CSRF
string
required

Must match the ankra_csrf browser cookie.

Path Parameters

provider
enum<string>
required
Available options:
doks,
uks,
gke,
ovh_mks,
aks,
eks,
kapsule
Example:

"kapsule"

Body

application/json
credential_id
string<uuid>
required
provider_cluster_id
string
required
description
string | null
name
string | null

Response

Successful response

cluster_id
string<uuid>
required
name
string
required
provenance
enum<string>
required
Available options:
created,
imported,
unknown
provider_cluster_id
string
required