Retrieve Machine label values
Retrieve paginated, unique, non-null values currently used for a Machine label key. Labels without the requested key are ignored. Results are ordered by value ascending by default before pagination.
Infrastructure Provider callers receive values from their Provider’s Machines. Tenant Admin callers receive values only from Sites where TargetedInstanceCreation is effective. For organizations with both roles, Provider scope takes precedence, so privileged Tenant Sites owned by other Providers are excluded. The optional siteId parameter further restricts the result.
Authentication
export JWT_BEARER_TOKEN="<jwt-bearer-token>"
# Example org name: "acme-inc
export ORG_NAME=<org-name>
# Use the JWT bearer token in your API request auth header:
curl -v -X GET -H "Content-Type: application/json" -H "Authorization: Bearer $JWT_BEARER_TOKEN" https://nico-rest-api.nico.svc.cluster.local/v2/org/$ORG_NAME/nico/user/current
Path parameters
Label key. It must not be empty, consist only of whitespace, or contain the Unicode NUL character (U+0000). Reserved path characters, including /, must be percent-encoded.
Query parameters
Ordering applied before pagination; defaults to VALUE_ASC