- Documentation
Elastic Compute Service
Elastic Compute Service
API Reference
Cloud assistant
DeleteCommand - Deletes custom commands
Cloud assistant
DeleteCommand - Deletes custom commands
DeleteCommand - Deletes custom commands
Call the DeleteCommand operation to delete a custom command.
Debugging
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
Request parameters
Only the request parameters specific to this operation and some common parameters are listed below. For more information, refer to Common parameters. Action string required Sample value: DeleteCommand
The action that you want to perform. Value: DeleteCommand.
Version string required Sample value: 2020-04-01
The version of the API. Valid value: 2020-04-01.
CommandId string required Sample value: cmd-4302d02424c5c8e10281e3a31****
The custom command ID. You can call the DescribeCommands operation to query and obtain custom command IDs.
Response parameters
Only the response parameters specific to this operation are listed below. For more information, refer to the response structure. CommandId string Sample value: cmd-4302d02424c5c8e10281e3a31****
The custom command ID.
Sample request
Sample response
Error codes
The table below lists the business-related error codes of the operation. For more information, refer to Common error codes.
Last updated: 2026.04.17 10:57:33