Skip to main content
POST
Create a provider network (browser session)

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,
ankracloud_k8s
Example:

"kapsule"

Body

application/json
credential_id
string<uuid>
required

Required for every provider but ankracloud_k8s; the others answer 422 without it. For ankracloud_k8s it may be omitted when the built-in Ankra Cloud credential is configured: the organisation's built-in credential is then used.

name
string
required
region
string | null

Response

Successful response

id
string
required
name
string
required
provider_reference
string
required
region
string
required
is_default
boolean
default:false