[comment]: # ({9dee678d-9dee678d})
# templatedashboard.delete

[comment]: # ({/9dee678d-9dee678d})

[comment]: # ({9a7f7f58-f76c3800})
### Apraksts

`object templatedashboard.delete(array templateDashboardIds)`

Šī metode ļauj dzēst veidņu paneļus.

::: noteclassic
Šī metode ir pieejama tikai *Admin* un *Super admin*
lietotāju tipiem. Atļaujas izsaukt šo metodi var tikt atsauktas lietotāja lomas
iestatījumos. Plašāku informāciju skatiet [Lietotāju
lomas](/manual/web_interface/frontend_sections/users/user_roles).
:::

[comment]: # ({/9a7f7f58-f76c3800})

[comment]: # ({276bf1c0-276bf1c0})
### Parametri

`(array)` Dzēšamo veidņu paneļu ID.

[comment]: # ({/276bf1c0-276bf1c0})

[comment]: # ({73b9628f-73b9628f})
### Atgrieztās vērtības

`(object)` Atgriež objektu, kas satur dzēsto veidnes paneļu ID īpašībā `dashboardids`.

[comment]: # ({/73b9628f-73b9628f})

[comment]: # ({b41637d2-b41637d2})
### Piemēri

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

[comment]: # ({d5d697e7-5c967ef8})
#### Vairāku veidņu paneļu dzēšana

Dzēsiet divus veidņu paneļus.

[Pieprasījums](/manual/api#performing-requests):

```json
{
    "jsonrpc": "2.0",
    "method": "templatedashboard.delete",
    "params": [
        "45",
        "46"
    ],
    "id": 1
}
```

Atbilde:

```json
{
    "jsonrpc": "2.0",
    "result": {
        "dashboardids": [
            "45",
            "46"
        ]
    },
    "id": 1
}
```

[comment]: # ({/d5d697e7-5c967ef8})

[comment]: # ({d4de7a93-d4de7a93})
### Avots

CTemplateDashboard::delete() failā
*ui/include/classes/api/services/CTemplateDashboard.php*.

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