Making a workflow private
By default, all workflows are private and can only be run by users who have permissions to run them. If you have made a workflow public and want to make it private again:
- In the management console
, select the folder containing the workflow. - Go to Serverless Integrations.
- In the left-hand panel, click
Workflows. - Select the workflow.
- Disable Public workflow.
- 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.
-
View the description of the CLI command for updating a workflow:
yc serverless workflow update --help -
Get a list of workflows:
yc serverless workflow listResult:
workflows: - id: dfqdi6ic7c5j******** folder_id: b1g681qpemb4******** created_at: "2025-03-10T13:31:55.387059Z" name: workflow895 status: ACTIVE log_options: folder_id: b1g681qpemb4******** ... - id: dfqud9cbc4k5******** folder_id: b1g681qpemb4******** created_at: "2025-03-10T12:57:48.679682Z" name: workflow203 status: ACTIVE log_options: folder_id: b1g681qpemb4******** -
Make a workflow private:
yc serverless workflow update \ --name <workflow_name> \ --remove-is-public
To make a workflow private, use the Update REST API method for the Workflows resource or the workflow/Update gRPC API call with isPublic: false.