[comment]: # translation:outdated

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

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

[comment]: # ({new-6707acfe})
### Description

`object sla.delete(array slaids)`

This method allows to delete SLA entries.

::: noteclassic
This method is only available to *Admin* and *Super admin*
user types. Permissions to call the method can be revoked in user role
settings. See [User
roles](/manual/web_interface/frontend_sections/administration/user_roles)
for more information.
:::

[comment]: # ({/new-6707acfe})

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

ID `(array)` degli SLA da eliminare.

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

[comment]: # ({9b9adfaa-9b9adfaa})
### Valori di ritorno

`(object)` Restituisce un oggetto contenente gli ID degli SLA eliminati
sotto la proprietà `slaids`.

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

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

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

[comment]: # ({new-d146a285})
#### Deleting multiple SLAs

Delete two SLA entries.

Request:

``` {.java}
{
    "jsonrpc": "2.0",
    "method": "sla.delete",
    "params": [
        "4",
        "5"
    ],
    "auth": "3a57200802b24cda67c4e4010b50c065",
    "id": 1
}
```

Response:

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

[comment]: # ({/new-d146a285})

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

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

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