[comment]: # ({df57832b-77549553})
# connector.delete

[comment]: # ({/df57832b-77549553})

[comment]: # ({9c33a1aa-1e18cf5c})
### 説明

`object connector.delete(array connectorids)`

このメソッドは、コネクタのエントリを削除することができます。

::: noteclassic
このメソッドは、*Super admin*タイプのユーザーのみ利用可能です。メソッドを呼び出す権限は、ユーザーの役割の設定で取り消すことができます。詳細は[ユーザーの役割](/manual/web_interface/frontend_sections/users/user_roles)を参照してください。
:::

[comment]: # ({/9c33a1aa-1e18cf5c})

[comment]: # ({e1a8f125-55d11efd})
### パラメーター

`(array)` 削除するコネクタのID。

[comment]: # ({/e1a8f125-55d11efd})

[comment]: # ({408723b2-5f42b70a})
### 戻り値

`(object)` `connectorids`プロパティの下にある、削除されたコネクタのIDを含むオブジェクトを返します。

[comment]: # ({/408723b2-5f42b70a})

[comment]: # ({b41637d2-931b87dc})
### 例

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

[comment]: # ({5c6de4f1-d07c0442})
#### 複数のコネクタの削除

2つのコネクタエントリを削除します。

[リクエスト](/manual/api#performing-requests) :

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

レスポンス :

```json
{
    "jsonrpc": "2.0",
    "result": {
        "connectorids": [
            "3",
            "5"
        ]
    },
    "id": 1
}
```

[comment]: # ({/5c6de4f1-d07c0442})

[comment]: # ({a6fcafd0-b3ee848b})
### ソース

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

[comment]: # ({/a6fcafd0-b3ee848b})
