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": [
"37241af8-4919-e96b-bcb0-e562a78143fd",
"6d8fcbd7-5ccf-5d9d-ceda-c7c1884b573e",
"f4e97b8b-6fad-84cf-34d4-51174ff6e354",
"9851e240-beb4-80d8-d72e-346cabb4e7ac",
"edd4bf79-e972-6881-5ab3-107f0e2c5294"
]
}
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": 1,
"ok": 12
}
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"
]
}