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

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

[comment]: # ({bb6935e0-bb6935e0})
### Description

`object httptest.delete(array webScenarioIds)`

This method allows to delete web scenarios.

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

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

`(array)` IDs of the web scenarios to delete.

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

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

`(object)` Returns an object containing the IDs of the deleted web
scenarios under the `httptestids` property.

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

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

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

[comment]: # ({4924488e-4924488e})
#### Deleting multiple web scenarios

Delete two web scenarios.

Request:

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

Response:

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

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

[comment]: # ({2735e1fb-2735e1fb})
### Source

CHttpTest::delete() in
*frontends/php/include/classes/api/services/CHttpTest.php*.

[comment]: # ({/2735e1fb-2735e1fb})
