- Documentation
Elastic Compute Service
Elastic Compute Service
API Reference
Launch templates
DeleteLaunchTemplateVersion - Deletes an instance launch template
Launch templates
DeleteLaunchTemplateVersion - Deletes an instance launch template
DeleteLaunchTemplateVersion - Deletes an instance launch template
Call the DeleteLaunchTemplate operation to delete an instance launch template. After you delete a template, all versions of the template are deleted.
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: DeleteLaunchTemplate
The action that you want to perform. Value: DeleteLaunchTemplate.
Version stringrequired Sample value: 2020-04-01
The API version. Value: 2020-04-01.
LaunchTemplateName string Optional Sample value: templateNameDemo
The launch template name.
tip
You are required to specify LaunchTemplateId or LaunchTemplateName to specify the template.
LaunchTemplateId string Optional Sample value: lt-ysxc16auaugh9zfy****
The launch template ID.
tip
You are required to specify LaunchTemplateId or LaunchTemplateName to specify the template.
Response parameters
Only the response parameters specific to this operation are listed below. For more information, refer to the response structure. LaunchTemplateId string Sample value: lt-ysxc16auaugh9zfy****
The launch template 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.06.18 17:48:25