# 删除复制集群

`DELETE CLUSTER` 语句删除指定的集群及其 [name](..#name)。一旦集群被删除，它将从所有节点中移除，但其表将保持完整并变为活动的本地非复制表。

**SQL:**

```sql
DELETE CLUSTER click_query
```

```json
POST /cli -d "DELETE CLUSTER click_query"
```

```php
$params = [
    'cluster' => 'click_query',
    'body' => []
];
$response = $client->cluster()->delete($params);                
```

**Python:**

```python
utilsApi.sql('DELETE CLUSTER click_query')
```

```python
{u'error': u'', u'total': 0, u'warning': u''}
```

**Javascript:**

```javascript
res = await utilsApi.sql('DELETE CLUSTER click_query');
```

```javascript
{"total":0,"error":"","warning":""}
```

**java:**

```java
utilsApi.sql("DELETE CLUSTER click_query");
```

**C#:**

```clike
utilsApi.Sql("DELETE CLUSTER click_query");
```
