Fetch Clusters

Fetches a list of all clusters used across your infrastructure.

Requires the servers-view permission.

Returns

Returns an array of strings (clusters), otherwise returns an Error.

GET /v1/infrastructure/servers/clusters

Example Request
$ curl https://api.cycle.io/v1/infrastructure/servers/clusters \
-H
"Authorization: Bearer API_KEY"
\
-H
"X-Hub-Id: HUB_ID"
Example Response
{
"data": [
"production",
"dev",
"staging"
]
}