Skip to main content
PUT
Update SSH keys (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

cluster_id
string<uuid>
required

Body

application/json
ssh_key_credential_ids
string[]
required

Response

Successful response

ssh_key_credential_ids
string[]
required
operation_id
string | null

The operation that applies the change: it re-registers the keys with the provider where the provider keeps a copy and rewrites authorized_keys on every node, standalone VM and the bastion, failing by name on a host it cannot reach. Null when none was created with this request; the platform then starts it from the SSH key resource's updating state. Follow it to learn whether a removed key has stopped working.