remove version
remove version is used to delete a specified version.
You can run remove version -h or remove version --help to view the documentation.
Parameter Parsing
Parameter Name |
Abbreviation |
Required in YAML |
Required in CLI |
Description |
---|---|---|---|---|
region |
- |
No |
Yes |
Region |
function-name |
- |
No |
Yes |
Service name |
version-name |
- |
Yes |
Yes |
Version name, which cannot be latest. |
This command also supports some global parameters, such as -a/--access and --debug. For details, see Global Parameters of Serverless Devs.
Examples
- If you have a resource description file (YAML), run s remove version --version-name versionName to delete a specified versionName.
- If you use CLI (without a YAML resource description file), specify the region and name of the service. For example, s cli fgs remove version --region cn-north-4 --function-name fgs-test --version-name v1.
Version [v1] deleted.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot