GET Kubernetes Instance ID from the Client Name REST API Operation

Use this operation to get the instance ID for a Kubernetes cluster.

You can then use the instance ID to update the service account token for your Kubernetes service account.

Request

Syntax

GET <webservice>/GetId?clientname=<clientName>&agent=Virtual%20Server&instanceName=Kubernetes  HTTP/1.1
Host: <host name> 
Accept: application/xml or application/json 
Authtoken: <authentication token>

where <webservice> is the root path used to route the API requests to the Web Server.

For more information, see Available Web Services for REST API.

Request Headers

Name

Description

Host

The host name of the Web Server or Web Console used in the API request.

Accept

The format of the response.

Valid value is application/json.

Authtoken

The authentication token received after successfully logging on.

For information about receiving an authentication token, see Authentication.

Response

Response Parameters

Parameter

Description

clientName

The name of the Kubernetes cluster to get the Instance ID for.

Loading...