Delete Task Template
Delete task template.
DELETE
https://api.alayanew.com/api/serverless-train/v1/template/{id}
Authorizations
Authorizations:StringHeaderRequired
用户可通过已获取Open API Key做验证,例如:plain Credential=[YOUR_AK],Signature=[YOUR_SK]。
Path Parameters
id:StringRequired
Elastic container cluster ID.
Response
状态码:application/json
200
code:Int
code is a common return value format, representing the execution result of the operation.
0
-1
0 is the success identifier, indicating the operation completed successfully.
msg:String
Returns error message when the code value is -1.
cURL
Python
JavaScript
Go
Java
curl -X DELETE 'https://api.alayanew.com/api/serverless-train/v1/template/5df0ef3c-252a-44c8-aba3-a87e23615c76'
-H 'Authorization: plain Credential=YOUR_AK,Signature=YOUR_SK'
200
400
401
403
404
500
{
"code": 0
}