List Clusters on Google Cloud Platform

GET /api/v2/clusters/

Use this API to list all clusters.

Parameters

None

Required Role

The following users can make this API call:

  • Users who belong to the system-admin or system-user group.
  • Users who belong to a group associated with a role that allows creating a cluster. See Managing Groups and Managing Roles for more information.

Request API Syntax

curl -X GET -H "X-AUTH-TOKEN:$X_AUTH_TOKEN" -H "Content-Type:application/json" -H "Accept: application/json" \
"https://gcp.qubole.com/api/v2/clusters/"

Sample API Request

It is the same as the syntax as there is no variable in the API.