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": [
"b1a504f2-f56a-3df1-899b-f42b64f71e0e",
"a5e9b0e9-19be-a727-1495-2a838815a262",
"71c4e2a2-882b-f018-040e-152e384bb5ff",
"048a36f6-bdc4-bf0e-5c98-df2703ba97fa",
"bd0f8393-62e8-ffa3-d4ab-dc45b647e9eb"
]
}
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": 2,
"ok": 4
}
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"
]
}