dcloud secrets environments updateRename an environment, move it in the promotion order or change its colour
IAM secrets:UpdateSecretEnvironmentChanges state
Synopsis
dcloud secrets environments update id [flags]Arguments
<id>Requiredstring
Also accepted as
--id. Constraints: uuid
Flags
--nameOptionalstring
New display name, 1 to 64 characters. Omitted: unchanged. The slug cannot change.
Constraints: 1-64 chars
--positionOptionalnumber
New place in the promotion order, 0 to 10000; higher is later. Omitted: unchanged.
Constraints: integer, 0-10000
--colorOptionalenum
The dot shown beside the environment: gray, blue, teal, green, amber, red or violet. Null: automatic (from the slug).
One of:
gray,blue,teal,green,amber,red,violetMay be null.
Example
dcloud secrets environments update idGenerated from the API description, the same one the API checks requests against and the CLI is built from.