Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Command line interface
  • Getting started with the CLI
    • Overview
    • help
    • init
      • Overview
    • version
  • CLI releases
  • Troubleshooting
  1. CLI reference
  2. serverless
  3. Overview

yc serverless

Written by
Yandex Cloud
Updated at March 26, 2026

Manage Serverless resources.

Command UsageCommand Usage

Syntax:

yc serverless <group>

Aliases:

  • sls

Command TreeCommand Tree

  • yc serverless api-gateway — Manage API Gateways

    • yc serverless api-gateway add-access-binding — Add access binding for the specified API Gateway

    • yc serverless api-gateway add-domain — Attach domain to the specified API Gateway

    • yc serverless api-gateway create — Create API Gateway

    • yc serverless api-gateway delete — Delete API Gateway

    • yc serverless api-gateway get — Get API Gateway

    • yc serverless api-gateway get-spec — Get API Gateway openapi specification

    • yc serverless api-gateway list — List API Gateways

    • yc serverless api-gateway list-access-bindings — List API Gateway access bindings

    • yc serverless api-gateway list-operations — List API Gateway operations

    • yc serverless api-gateway release-canary — Set gateway specification variables to canary values and delete canary settings

    • yc serverless api-gateway remove-access-binding — Remove access binding for the specified API Gateway

    • yc serverless api-gateway remove-domain — Detach domain from the specified API Gateway

    • yc serverless api-gateway resume — Resume API Gateway

    • yc serverless api-gateway rollback-canary — Suspend sending requests to canary release(set canary weight to zero)

    • yc serverless api-gateway set-access-bindings — Set access bindings for the specified API Gateway and delete all existing access bindings if there were any

    • yc serverless api-gateway stop — Stop API Gateway

    • yc serverless api-gateway update — Update API Gateway

  • yc serverless container — Manage containers

    • yc serverless container add-access-binding — Add access binding for the specified container

    • yc serverless container add-labels — Add labels to specified container

    • yc serverless container allow-unauthenticated-invoke — Allow unauthenticated invoke for the specified container

    • yc serverless container create — Create a container

    • yc serverless container delete — Delete the specified container

    • yc serverless container deny-unauthenticated-invoke — Deny unauthenticated invoke for the specified container

    • yc serverless container get — Show information about the specified container

    • yc serverless container list — List containers

    • yc serverless container list-access-bindings — List access bindings for the specified container

    • yc serverless container list-operations — Show operations for the specified container

    • yc serverless container remove-access-binding — Remove access binding for the specified container

    • yc serverless container remove-labels — Remove labels from specified container

    • yc serverless container rollback — Rollback the specified container to the specified revision

    • yc serverless container set-access-bindings — Set access bindings for the specified container and delete all existing access bindings if there were any

    • yc serverless container update — Update the specified container

  • yc serverless eventrouter — Manage eventrouters

    • yc serverless eventrouter put-event — Send event

    • yc serverless eventrouter send-event — Send event

  • yc serverless function — Manage functions

    • yc serverless function add-access-binding — Add access binding for the specified function

    • yc serverless function add-labels — Add labels to specified function

    • yc serverless function allow-unauthenticated-invoke — Allow unauthenticated invoke for the specified function

    • yc serverless function create — Create a function

    • yc serverless function delete — Delete the specified function

    • yc serverless function deny-unauthenticated-invoke — Deny unauthenticated invoke for the specified function

    • yc serverless function get — Show information about the specified function

    • yc serverless function invoke — Invoke the specified function

    • yc serverless function list — List functions

    • yc serverless function list-access-bindings — List access bindings for the specified function

    • yc serverless function list-operations — Show operations for the specified function

    • yc serverless function list-scaling-policies — List existing scaling policies for specified function

    • yc serverless function logs — Show logs for the specified function

    • yc serverless function remove-access-binding — Remove access binding for the specified function

    • yc serverless function remove-labels — Remove labels from specified function

    • yc serverless function remove-scaling-policy — Remove scaling policy for specified function and tag

    • yc serverless function set-access-bindings — Set access bindings for the specified function and delete all existing access bindings if there were any

    • yc serverless function set-scaling-policy — Set scaling policy for specified function and tag

    • yc serverless function tag-history — Show history of the tag for the specified function

    • yc serverless function update — Update the specified function

  • yc serverless mcp-gateway — Manage MCP Gateways

    • yc serverless mcp-gateway add-access-binding — Add access binding for the specified MCP Gateway

    • yc serverless mcp-gateway allow-unauthenticated-invoke — Allow unauthenticated invoke for the specified MCP Gateway

    • yc serverless mcp-gateway create — Create MCP Gateway

    • yc serverless mcp-gateway delete — Delete MCP Gateway

    • yc serverless mcp-gateway deny-unauthenticated-invoke — Deny unauthenticated invoke for the specified MCP Gateway

    • yc serverless mcp-gateway get — Get MCP Gateway

    • yc serverless mcp-gateway list — List MCP Gateways

    • yc serverless mcp-gateway list-access-bindings — List access bindings for the specified MCP Gateway

    • yc serverless mcp-gateway list-operations — List MCP Gateway operations

    • yc serverless mcp-gateway remove-access-binding — Remove access binding for the specified MCP Gateway

    • yc serverless mcp-gateway set-access-bindings — Set access bindings for the specified MCP Gateway and delete all existing access bindings if there were any

    • yc serverless mcp-gateway update — Update MCP Gateway

  • yc serverless mdbproxy — Manage proxies

    • yc serverless mdbproxy add-labels — Add labels to specified proxy

    • yc serverless mdbproxy delete — Delete the specified proxy

    • yc serverless mdbproxy get — Show information about the specified proxy

    • yc serverless mdbproxy list — List proxies

    • yc serverless mdbproxy list-operations — Show history of the tag for the specified proxy

    • yc serverless mdbproxy remove-labels — Remove labels from specified proxy

  • yc serverless network — Manage networks used in serverless resources

    • yc serverless network get-used — Show information about the specified network used in serverless resources

    • yc serverless network list-connections — List serverless resources connected to any network from specified scope (network, folder or cloud)

    • yc serverless network list-used — List networks used in serverless resources in specified scope

    • yc serverless network trigger-used-cleanup — Force obsolete used network to start cleanup process as soon as possible

  • yc serverless trigger — Manage triggers

    • yc serverless trigger add-labels — Add labels to specified trigger

    • yc serverless trigger delete — Delete the specified trigger

    • yc serverless trigger get — Show information about the specified trigger

    • yc serverless trigger list — List triggers

    • yc serverless trigger list-operations — Show history of the tag for the specified trigger

    • yc serverless trigger pause — Pause the specified trigger

    • yc serverless trigger remove-labels — Remove labels from specified trigger

    • yc serverless trigger resume — Resume the specified trigger

  • yc serverless workflow — Manage workflows

    • yc serverless workflow add-access-binding — Add access binding for the specified Workflow

    • yc serverless workflow allow-unauthenticated-execution — Allow unauthenticated execution for the specified Workflow

    • yc serverless workflow create — Create Workflow

    • yc serverless workflow delete — Delete Workflow

    • yc serverless workflow deny-unauthenticated-execution — Deny unauthenticated execution for the specified Workflow

    • yc serverless workflow get — Get Workflow

    • yc serverless workflow list — List Workflows

    • yc serverless workflow list-access-bindings — List access bindings for the specified Workflow

    • yc serverless workflow list-operations — List Workflow operations

    • yc serverless workflow remove-access-binding — Remove access binding for the specified Workflow

    • yc serverless workflow set-access-bindings — Set access bindings for the specified Workflow and delete all existing access bindings if there were any

    • yc serverless workflow update — Update Workflow

Global FlagsGlobal Flags

Flag

Description

--profile

string

Set the custom configuration file.

--debug

Debug logging.

--debug-grpc

Debug gRPC logging. Very verbose, used for debugging connection problems.

--no-user-output

Disable printing user intended output to stderr.

--retry

int

Enable gRPC retries. By default, retries are enabled with maximum 5 attempts.
Pass 0 to disable retries. Pass any negative value for infinite retries.
Even infinite retries are capped with 2 minutes timeout.

--syntax

string

CLI syntax: 1 (legacy) or 2 (current). Omit to use default-syntax in the profile or the product default.

--cloud-id

string

Set the ID of the cloud to use.

--folder-id

string

Set the ID of the folder to use.

--folder-name

string

Set the name of the folder to use (will be resolved to id).

--endpoint

string

Set the Cloud API endpoint (host:port).

--token

string

Set the OAuth token to use.

--impersonate-service-account-id

string

Set the ID of the service account to impersonate.

--no-browser

Disable opening browser for authentication.

--format

string

Set the output format: text (default), yaml, json, json-rest.

--jq

string

Query to select values from the response using jq syntax

-h, --help

Display help for the command.

  • Getting a list of operations
  • Getting a list of operations
  • Setting up asynchronous invocation
  • Getting a list of operations
  • Assigning roles for an EventRouter resource
  • Viewing roles assigned for an EventRouter resource
  • Revoking roles assigned for an EventRouter resource
  • Getting a list of operations

Was the article helpful?

Previous
update
Next
Overview
© 2026 Direct Cursus Technology L.L.C.