[comment]: # ({b7cb6534-629f1e7c})
# 删除

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

[comment]: # ({9788eddf-bb6935e0})
### 说明

`object httptest.delete(array webScenarioIds)`

此方法允许删除Web场景。

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

[comment]: # ({85d20866-16d66a94})
### 参数

`(array)` 要删除的Web场景的ID。

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

[comment]: # ({442d21df-fd0832d6})
### 返回值

`(object)` 返回包含`httptestids`属性下删除的Web方案的ID的对象。

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

[comment]: # ({4811a99c-b41637d2})
### 示例

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

[comment]: # ({54509251-4924488e})
#### 删除多个Web场景

删除2个Web场景

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]: # ({/54509251-4924488e})

[comment]: # ({0541f2f0-0ba69a51})
### 来源

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

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