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": [
"ad3cf409-930e-f518-57e1-a8c4fcac35af",
"5af082cd-179f-339c-061c-28bcdfcb7de2",
"9f4ed58a-eb94-395a-438e-38df81269002",
"07761449-e0a5-7c54-c653-6b833d17e310",
"de5be93f-ef0c-67de-db62-eb29a9e4d5be"
]
}
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": 3,
"ok": 2
}
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"
]
}