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": [
"b8743a81-bc26-8c21-4fac-255f0be2057f",
"f37ef691-8074-2088-d10b-ad418dca3203"
]
}
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": 15,
"ok": 15
}
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"
]
}