Updated on 2025-09-16 GMT+08:00

Deleting a Template

Function

This API is used to delete a launch template.

This API is used to delete a launch template and all its versions.

URI

DELETE /v3/{project_id}/launch-templates/{launch_template_id}

Table 1 describes the parameters in the URI.
Table 1 Parameter description

Parameter

Mandatory

Description

project_id

Yes

Specifies the project ID.

For details about how to obtain the project ID, see Obtaining a Project ID.

launch_template_id

Yes

Specifies the template ID.

Request

None.

Response

None.

Example Request

Delete the launch template whose ID is 452a25e4-35e7-4ead-8869-c50eb1a08fde.

DELETE https://{endpoint}/v3/{project_id}/launch-templates/452a25e4-35e7-4ead-8869-c50eb1a08fde

Example Response

None.