[comment]: # ({bd64f320-bf12fc32})
# sla.delete

[comment]: # ({/bd64f320-bf12fc32})

[comment]: # ({a0011f22-8ea5261f})
### Apraksts

`object sla.delete(array slaids)`

Šī metode ļauj dzēst SLA ierakstus.

::: 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]: # ({/a0011f22-8ea5261f})

[comment]: # ({a9a79673-7af05f92})
### Parametri

`(array)` dzēšamo SLA ID.

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

[comment]: # ({9b9adfaa-23960c29})
### Atgrieztās vērtības

`(object)` Atgriež objektu, kas satur dzēsto SLA ID zem `slaids` īpašības.

[comment]: # ({/9b9adfaa-23960c29})

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

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

[comment]: # ({4eeafec1-5036ec70})
#### Vairāku SLA dzēšana

Dzēsiet divus SLA ierakstus.

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

```json
{
    "jsonrpc": "2.0",
    "method": "sla.delete",
    "params": [
        "4",
        "5"
    ],
    "id": 1
}
```

Atbilde:

```json
{
    "jsonrpc": "2.0",
    "result": {
        "slaids": [
            "4",
            "5"
        ]
    },
    "id": 1
}
```

[comment]: # ({/4eeafec1-5036ec70})

[comment]: # ({20f60157-c99e5046})
### Avots

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

[comment]: # ({/20f60157-c99e5046})
