Deleting a workflow label
- In the management console
, select the folder where you want to delete a workflow label. - Go to Serverless Integrations.
- In the left-hand panel, click
Workflows. - Click
in the workflow row and select Edit. - Expand the Additional parameters section. In the Labels field, select the label. Click
to the right of its name. - Click Save.
If you do not have the Yandex Cloud CLI yet, install and initialize it.
The folder used by default is the one specified when creating the CLI profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also specify a different folder for any command using --folder-name or --folder-id. If you access a resource by its name, the search will be limited to the default folder. If you access a resource by its ID, the search will be global, i.e., through all folders based on access permissions.
To delete a workflow label, run this command:
Warning
The existing labels (labels) will be completely overwritten by the ones you provide in your request.
yc serverless workflow update <workflow_name_or_ID> \
--yaml-spec <specification_file> \
--labels <label_list>
Where:
--yaml-spec: Path to the YaWL specification file for the workflow, e.g.,./yawl-spec.json.--labels: List of labels. You can specify one label or multiple labels separated by commas in<key1>=<value1>,<key2>=<value2>format.
Result:
id: dfqjl5hh5p90********
folder_id: b1g681qpemb4********
specification:
spec_yaml: "yawl: ..."
created_at: "2025-03-11T09:27:51.691990Z"
name: my-workflow
description: created via cli
labels:
owner: "admin"
version: "alpha"
status: ACTIVE
log_options: {}
service_account_id: aje4tpd9coa********
network_id: enpm8v48ehcl********
To delete a workflow label, use the Update REST API method for the Workflows resource or the workflow/Update gRPC API call.