Skip to content

Delete Template

DELETE
/v2/template/delete/{template_id}
curl --request DELETE \
--url http://localhost:3000/v2/template/delete/example
template_id
required
string

Unique identifier for the template

OK

Media type application/json
object
Example
{
"id": "api.query.template.delete",
"ver": "v2",
"ts": "2024-04-30T11:58:27+05:30",
"params": {
"status": "SUCCESS",
"resmsgid": "3e2859df-f494-4c47-ae64-e2c34f4ef1cb"
},
"responseCode": "OK",
"result": {
"message": "Template yashash-k deleted successfully"
}
}
X-Powered-By
string
Example
Express
Content-Length
integer
Example
241
ETag
string
Example
W/"f1-FblV17jkZ3FSGFt5MHx6s6dlMuo"
Date
string
Example
Tue, 30 Apr 2024 06:28:27 GMT
Connection
string
Example
keep-alive
Keep-Alive
string
Example
timeout=5

Not Found

Media type application/json
object
Example
{
"id": "api.query.template.delete",
"ver": "v2",
"ts": "2024-05-30T23:58:41+05:30",
"params": {
"status": "FAILED",
"resmsgid": "9b7f81fb-6705-4d32-9bd3-139cd5a211b9"
},
"responseCode": "NOT_FOUND",
"result": {},
"error": {
"code": "QUERY_TEMPLATE_NOT_EXISTS",
"message": "Template json_template does not exists",
"trace": ""
}
}
X-Powered-By
string
Example
Express
Content-Length
integer
Example
303
ETag
string
Example
W/"12f-99pWw8VTwuVfDAhinC55JXfNyyg"
Date
string
Example
Thu, 30 May 2024 18:28:41 GMT
Connection
string
Example
keep-alive
Keep-Alive
string
Example
timeout=5