Skip to main content
POST
Import a managed cluster

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-ankra-organisation-id
string

PAT organisation override.

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