fastly service-version update

Update a Fastly service version.

Syntax

fastly service-version update --version=VERSION

Options

KeyRequired?DefaultDescription
--service-idNoService ID (falls back to FASTLY_SERVICE_ID, then fastly.toml)
--versionYes'latest', 'active', or the number of a specific version
--autocloneNoIf the selected service version is not editable, clone it and use the clone.
--commentNoHuman-readable comment

Global options

KeyRequired?DefaultDescription
--helpNoShow context-sensitive help.
--tokenNoFastly API token (or via FASTLY_API_TOKEN)
--verboseNoVerbose logging

API equivalent

This command internally uses the following Fastly public APIs: