[comment]: # ({629f1e7c-629f1e7c})
# httptest.delete

[comment]: # ({/629f1e7c-629f1e7c})

[comment]: # ({af6afc07-67a29a65})
### Apraksts

`object httptest.delete(array webScenarioIds)`

Šī metode ļauj dzēst tīmekļa scenārijus.

::: 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]: # ({/af6afc07-67a29a65})

[comment]: # ({16d66a94-16d66a94})
### Parametri

`(array)` dzēšamo tīmekļa scenāriju ID.

[comment]: # ({/16d66a94-16d66a94})

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

`(object)` Atgriež objektu, kas satur dzēsto tīmekļa scenāriju ID īpašībā `httptestids`.

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

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

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

[comment]: # ({1f0b85e9-4924488e})
#### Vairāku tīmekļa scenāriju dzēšana

Dzēsiet divus tīmekļa scenārijus.

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

```json
{
    "jsonrpc": "2.0",
    "method": "httptest.delete",
    "params": [
        "2",
        "3"
    ],
    "id": 1
}
```

Atbilde:

```json
{
    "jsonrpc": "2.0",
    "result": {
        "httptestids": [
            "2",
            "3"
        ]
    },
    "id": 1
}
```

[comment]: # ({/1f0b85e9-4924488e})

[comment]: # ({0ba69a51-0ba69a51})
### Avots

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

[comment]: # ({/0ba69a51-0ba69a51})
