Help Center/
Cloud Container Instance (CCI)/
Developer Guide/
Using ccictl/
Command Line Tool (ccictl)/
ccictl config/
ccictl config rename-context
Updated on 2025-04-03 GMT+08:00
ccictl config rename-context
Scenario
Rename the context in the cliconfig file.
- CONTEXT_NAME indicates the name of the context to be changed.
- NEW_NAME indicates the new name to be set.
- Note: If the context to be renamed is the current context, this field will be updated.
ccictl config rename-context CONTEXT_NAME NEW_NAME
Examples
# Rename the context (from old-name to new-name) in the cliconfig file. ccictl config rename-context old-name new-name
Options
-h, --help
Help information for rename-context
The following ccictl options can also be used in subcommands:
Parent topic: ccictl config
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot