# Delete ULS Log Collection Configuration - DeleteUK8SULSConfig

## Overview

Deletes a log collection rule from the specified UK8S cluster.






## Definition

### Public Parameters

| Parameter Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **Action**     | string  | Corresponding API command name, the current API is `DeleteUK8SULSConfig`.                      | **Yes** |
| **PublicKey**  | string  | The user's public key can be obtained from [Console](https://console.sigcalcloud.com/uaccount/api_manage)                                             | **Yes** |
| **Signature**  | string  | User signature generated based on public key and API command, see [Signature Algorithm](/docs/api/summary/signature.md)  | **Yes** |

### Request Parameters

| Parameter Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **Region** | string | Region. See the Region and Zone List. |**Yes**|
| **Zone** | string | Availability zone. See the Region and Zone List. |**Yes**|
| **ProjectId** | string | Project ID. Leave it blank to use the default project. This field is required for sub-accounts. See the GetProjectList API. |No|
| **ClusterId** | string | ID of the UK8S cluster to operate on. |**Yes**|
| **Name** | string | Name of the log collection rule to delete. |**Yes**|

### Response Field

| Field Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **RetCode** | int | Return status code. If it is 0, it means successful return. If it is not 0, it means failure. |**Yes**|
| **Action** | string | Operation command name. |**Yes**|
| **Message** | string | Returns an error message, providing detailed description when `RetCode` is non-zero. |No|




## Example

### Request Example
    
```
https://api.sigcalcloud.com/?Action=DeleteUK8SULSConfig
&Region=cn-zj
&Zone=cn-zj-01
&ProjectId=nHcJZlAa
&ClusterId=zncnSZgi
&TopicId=xhTUeszG
```

### Response Example
    
```json
{
  "Action": "DeleteUK8SULSConfigResponse",
  "RetCode": 0
}
```





