Summary
Delete a List of Templates
Description
Delete a List of Smart Templates
Route
DELETE /smart_template/list
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
ids |
array |
yes |
List of ids of smart templates to delete |
Copied to Clipboard
{
"ids": [
"04a87cce-a37b-6765-9bd9-7fab1a64af3a",
"61a3311d-a30d-053a-bf54-1600c82f8b7d",
"166fb11e-94b6-e977-e14b-a6d3f969b8ef",
"cfd08418-10a2-0418-8a02-19bf1bc71981",
"ce04d2ff-895f-46ba-3fdc-de1d65fb001d"
]
}
Copied to Clipboard
{
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}$"
},
"minItems": 2
}
},
"required": [
"ids"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
status |
object |
Status of Removal |
Copied to Clipboard
{
"n": 6,
"ok": 9
}
Copied to Clipboard
{
"type": "object",
"properties": {
"n": {
"type": "number",
"minimum": 0,
"maximum": 15,
"multipleOf": 1
},
"ok": {
"type": "number",
"minimum": 0,
"maximum": 15,
"multipleOf": 1
}
},
"required": [
"n",
"ok"
]
}