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.
Debugging
You can debug this API in API Explorer.
Authorization
- If you are using role/policy-based authorization, see the required permissions in Permissions and Supported Actions.
- If you are using identity policy-based authorization, the permissions listed below are required.
|
Action |
Access Level |
Resource Type (*: required) |
Condition Key |
Alias |
Dependencies |
|---|---|---|---|---|---|
|
ecs:launchTemplates:delete |
write |
- |
- |
- |
- |
URI
DELETE /v3/{project_id}/launch-templates/{launch_template_id}
|
Parameter |
Mandatory |
Description |
|---|---|---|
|
project_id |
Yes |
Specifies the project ID. For details about how to obtain the 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.
Returned Values
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