You can call this operation to delete a configuration template.
Debugging
Request headers
This operation uses common request headers, instead of special request headers. For more information, see the "Common request headers" section in "Common request and response headers."
Request syntax
DELETE /pop/v1/wam/configTemplate HTTP/1.1
Request parameters
Parameter | Type | Required? | Example | Description |
---|---|---|---|---|
TemplateId | String | Yes | wct-5d3e9d2a2977ca5251e0**** |
The ID of the configuration template to be deleted. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Code | String | OK |
The response code. The value is OK if the request is successful. |
Message | String | success |
The response message. The value is success if the request is successful. |
RequestId | String | 0E0A3207-12BD-4F5D-A3C2-E33BEEBB**** |
The ID of the request. |
Examples
Sample request
http://webplus.cn-hangzhou.aliyuncs.com/pop/v1/wam/configTemplate?ServiceCode=webx&Id=wct-5d233291daae5125d353****&<Common request parameters>
Sample success response
XML
format
<DeleteConfigTemplateResponse>
<Message>success</Message>
<RequestId>0E0A3207-12BD-4F5D-A3C2-E33BEEBB****</RequestId>
<Code>OK</Code>
</DeleteConfigTemplateResponse>
JSON
format
{
"Message":"success",
"RequestId":"688D65D8-6509-4F04-A0F0-6B04D774****",
"Code":"OK"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | ResourceAuthFailed | The specified resource does not exist or it does not belong to this Alibaba Cloud account. | The error message returned because the specified resource does not exist or it does not belong to your Alibaba Cloud account. |
For more information about error codes, see API Error Center.