[comment]: # ({c321f381-c321f381})
# templatescreen.delete

[comment]: # ({/c321f381-c321f381})

[comment]: # ({469ac232-469ac232})
### Description

`object templatescreen.delete(array templateScreenIds)`

This method allows to delete template screens.

[comment]: # ({/469ac232-469ac232})

[comment]: # ({7b87f918-7b87f918})
### Parameters

`(array)` IDs of the template screens to delete.

[comment]: # ({/7b87f918-7b87f918})

[comment]: # ({f707862e-f707862e})
### Return values

`(object)` Returns an object containing the IDs of the deleted template
screens under the `screenids` property.

[comment]: # ({/f707862e-f707862e})

[comment]: # ({b41637d2-b41637d2})
### Examples

[comment]: # ({/b41637d2-b41637d2})

[comment]: # ({06f20b08-06f20b08})
#### Delete multiple template screens

Delete two template screens.

Request:

``` {.java}
{
    "jsonrpc": "2.0",
    "method": "templatescreen.delete",
    "params": [
        "45",
        "46"
    ],
    "auth": "3a57200802b24cda67c4e4010b50c065",
    "id": 1
}
```

Response:

``` {.java}
{
    "jsonrpc": "2.0",
    "result": {
        "screenids": [
            "45",
            "46"
        ]
    },
    "id": 1
}
```

[comment]: # ({/06f20b08-06f20b08})

[comment]: # ({2bd4ac54-2bd4ac54})
### Source

CTemplateScreen::delete() in
*ui/include/classes/api/services/CTemplateScreen.php*.

[comment]: # ({/2bd4ac54-2bd4ac54})
