Available since version: 1.8
This function allows you to delete information about one or several templates. All template-related information will be removed including items, graphs, macros, application, etc.
| Parameter | Type | Optional | Description | Details |
|---|---|---|---|---|
| templateids | array | Array of Template IDs | ||
| Parameter | Description |
|---|---|
| result | Operation successful. Result will contain array of deleted Template IDs. |
| error | In case of any errors |
{
"jsonrpc":"2.0",
"method":"template.delete",
"params":[
{
"templateid":107824
},
{
"templateid":107825
}
],
"auth":"3a57200802b24cda67c4e4010b50c065",
"id":2
}Templates deleted successfully:
Template does not exist: