v1

latestOpenAPI 3.0.02026-07-246171,3332.1 MB
v2

post/update-k8s-target

Request body

commentstring

Deprecated - use description

descriptionstring

Description of the object

jsonboolean

Set output format to JSON

k8s-auth-typestring

K8S auth type [token/certificate]

k8s-client-certificatestring

Content of the k8 client certificate (PEM format) in a Base64 format

k8s-client-keystring

Content of the k8 client private key (PEM format) in a Base64 format

k8s-cluster-ca-certstring

K8S cluster CA certificate

k8s-cluster-endpointstring

K8S cluster URL endpoint

k8s-cluster-namestring

K8S cluster name

k8s-cluster-tokenstring

K8S cluster Bearer token

keep-prev-versionstring

Whether to keep previous version [true/false]. If not set, use default according to account settings

keystring

The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)

max-versionsstring

Set the maximum number of versions, limited by the account settings defaults.

namestring required

Target name

new-namestring

New target name

tokenstring

Authentication token (see /auth and /configure)

uid-tokenstring

The universal identity token, Required only for universal_identity authentication

update-versionboolean

Deprecated

use-gw-service-accountboolean

Use the GW's service account

Response

updateNativeK8STargetResponse wraps response body.

target_idinteger