- Service Overview
- Getting Started
-
User Guide
- Granting Permissions to Use FlexusL Instances Through IAM
- Purchasing a FlexusL Instance
- Remotely Logging In to a FlexusL Instance
- Managing FlexusL Instances
- Managing Images
- Managing EVS Disks
- Managing Server Security
- Managing Backups
- Managing Domain Names
- Monitoring
-
Best Practices
- Best Practices for FlexusL
-
Setting Up a Website
- Managing Servers Using the BT Panel
- Building a WordPress Website
- Using Matomo to Build a Website Traffic Statistics System
- Using Odoo to Build an ERP System
- Using Moodle to Build an Online Learning System
- Using Joomla to Build a Content Management System
- Using Ghost to Build a Personal Blog
- Using EspoCRM to Build a Content Management System
- Setting Up the Development Environment
- Setting Up an Application
- Server Migration
- API Reference
-
FAQs
-
Product Consulting
- What Are the Differences Among FlexusL, FlexusX, and ECS?
- How Do I Find My Purchased FlexusL Instances on the Management Console?
- Where Can I View the FlexusL Instance ID and Cloud Server ID Packaged in the FlexusL Instance?
- Can I Migrate Cloud Servers to FlexusL?
- What Should I Do If I Do Not Have Permissions to Purchase FlexusL?
- What Regions Does FlexusL Support?
- What Is the Relationship Among FlexusL Instances, the Dashboard, and the O&M Page?
- Billing
- Creation and Unsubscription
- Specification Changes
-
OS and Image
- Do FlexusL OS Images Provide Visualized Dashboards?
- What Should I Do If a Private Image Cannot Be Used to Create a FlexusL Instance or Change the OS of a FlexusL Instance Because the Password Reset Plug-in Is Not Installed on the Image or the Image's onekey_resetpasswd Tag Is Missing?
- How Do I Check that an Application Image Has Been Up and Running?
- How Do I View the Applications That Are Installed in the FlexusL Application Images by Default?
- Why Can't I Open the Dashboard of the Application Pre-installed in the Application Image?
- How Do I Upgrade the BT Panel?
- Why Can't I Access the Dashboard of the Application Pre-installed in the Application Image After Entering the Initial Username and Password?
- What Do I Do If HSS Is Not Started After I Use a Private Image to Create a FlexusL Instance or Change the OS of an Instance?
- Remote Login
-
Password
- What Are the Username and Password for Remotely Logging In to a FlexusL Instance Server?
- What Can I Do If I Forget the Login Password of a FlexusL Instance?
- What Should I Do If the Password Cannot Be Reset After I Use a Private Linux Image to Create a FlexusL Instance or Change the OS of an Existing FlexusL Instance and I Forgot the Initial Password of the Private Image?
- What Should I Do If the Password Cannot Be Reset After I Use a Private Linux Image to Create a FlexusL Instance or Change the OS of an Existing FlexusL Instance and I Know the Initial Password of the Private Image?
-
Network
- Does a FlexusL Instance Have an EIP?
- Can I Change the Public and Private IP Addresses of a FlexusL Instance?
- How Do I Use Data Packages in FlexusL Instances?
- How Do I View the Traffic Usage of My FlexusL Instance?
- Can I Add a Data Package to a FlexusL Instance?
- What Do I Do If My FlexusL Instance Freezes?
- How Does FlexusL Instances Communicate with Each Other and with Other Cloud Resources Over a Private Network?
-
EVS Disks
- How Do I Detach or Unsubscribe from a System or Data Disk of a FlexusL Instance?
- Can I Use EVS Disk Snapshots to Back Up FlexusL Instance Data?
- Can EVS Disks of FlexusL Instances Be Expanded?
- Can I Change the EVS Disk Type for a FlexusL Instance?
- Can I Attach Existing Data Disks to My FlexusL Instances?
-
Product Consulting
- General Reference
Copied.
Resetting Cloud Server Passwords in a Batch
Function
This API is used to reset the password of the cloud server management accounts (root or Administrator) in a batch. It is the API for resetting the passwords of ECS management accounts in a batch. This section lists the key information about using the API. For more information about the API, see Resetting the Passwords for Logging In to ECSs in a Batch.
This API used by cloud servers in the FlexusL instances is the same as that used by ECSs. The response parameter description, API usage example, and return values of ECSs also apply to the FlexusL instances.
Constraints
- Before using this API, you must install the password reset plug-in.
By default, the password reset plug-in has been installed in the OS images and application images provided by the FlexusL instances.
If the private image is created from a server on another cloud platform or downloaded from a third party, the image may not have the password reset plug-in installed, so the password reset function is unavailable. Install the plug-in by following the instructions provided in What Should I Do If the Password Cannot Be Reset After I Use a Private Linux Image to Create a FlexusL Instance or Change the OS of an Existing Instance and I Forgot the Initial Password of the Private Image?
- After the request for resetting the password is issued, this API does not report an error if the script failed to be executed.
- A new password takes effect after the cloud server is started or restarted.
- This API allows you to reset passwords when the target cloud servers are running or stopped.
URI
PUT /v1/{project_id}/cloudservers/os-reset-passwords
Request Message
For details about the request parameters, see Starting ECSs in a Batch. In the request message, id in the servers field is the cloud server ID. Obtain the cloud server ID by referring to Querying Created FlexusL Instances.
Example Request
Reset the passwords of the FlexusL instances whose cloud server IDs are 72a270de-665a-4f46-8d64-24ad6edccdd1 or 72a270de-665a-4f46-8d64-24ad6edccdd2 to password@123.
PUT https://{endpoint}/v1/{project_id}/cloudservers/os-reset-passwords { "new_password": "password@123", "servers": [ { "id": "72a270de-665a-4f46-8d64-24ad6edccdd1" }, { "id": "72a270de-665a-4f46-8d64-24ad6edccdd2" } ] }
Example Response
{ "response": [ { "id": "72a270de-665a-4f46-8d64-24ad6edccdd1" } { "id": "72a270de-665a-4f46-8d64-24ad6edccdd2" } ] }
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