# cancelPKEYCompactionTask {#cancelpkeycompactiontask}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`cancelPKEYCompactionTask(chunkId)`

## Arguments {#arguments}

**chunkId**is a STRING scalar indicating the target chunk ID.

## Details {#details}

Cancel the running compaction tasks on the specified chunk.

## Examples {#id_ixw_3yp_zbc}

``` {#pre_l11_kyp_zbc}
cancelPKEYCompactionTask(chunkId="1486f935-6f87-479c-b341-34c6a303d4f9")
```

