ProxyAuthK8s Docs
ApiApi_clusters

Get all cluster visible to the user.

Last updated on

Get all cluster visible to the user, if the user is not authenticated return 401, if none return an empty array.

GET
/api/v1/clusters

Authorization

bearer_auth
AuthorizationBearer <token>

In: header

Response Body

application/json

curl -X GET "https://loading/api/v1/clusters"
{
  "clusters": [
    {
      "enabled": true,
      "is_reachable": true,
      "name": "string",
      "namespace": "string",
      "sso_enabled": true
    }
  ]
}
Empty
Empty

Have feedback?

Share on GitHub