Is there a stack uuid?

Is there a way of adding a uuid to a stack so it can be uniquely identified ? At the moment, all I can seem to find is the name, and as it is possible to change the name it doesn’t really help (I’m trying to record some data about stacks and want a unique non-changing id)

thanks

There is id (e.g. 1e1), which is used in the URLs, and also uuid (e.g. d747c558-938b-4043-9a1d-132fb9ec7a29) in the API on stacks (except they’re called environments in the API).

ah - is this available via the meta-data, or in the labels ?

It’s available in the metadata.

http://docs.rancher.com/rancher/latest/en/rancher-services/metadata-service/#stack