Skip to main content
GET
List cluster labels

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-ankra-organisation-id
string

PAT organisation override.

Path Parameters

cluster_id
string<uuid>
required

Response

Successful response

The labels on one cluster.

cluster_id
string<uuid>
required
labels
object
required

The cluster's labels, key to value.

environment
string | null
required

The cluster's own environment, which dynamic groups select on under the reserved environment key. Changed on the cluster, never through labels.

reserved_keys
string[]
required

Keys no label may carry.