---
name: "deleteGyroCleanRecord"
mode: "api"
versionRequirements:
  - { name: "Base Library", version: "2.29.0" }
title: "Delete Cleaning Record"
---

## deleteGyroCleanRecord

> [VERSION] Base Library >= 2.29.0

### Description

Delete cleaning records for an inertial-navigation robot vacuum

### Parameters

`Params`

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `params` | `DeleteGyroCleanRecordParams` | Yes | Parameter object containing the device ID and the record ID to delete |

### Return Value

Type: `Promise<boolean>`

Promise that resolves to a boolean indicating whether the deletion succeeded

### Referenced Types

##### `interface` DeleteGyroCleanRecordParams

| Property | Type | Description |
| --- | --- | --- |
| `devId` | `string` | Device ID |
| `uuid` | `string` | recordId of cleaning records; multiple IDs separated by commas |


### Examples

```js
const result = await ty.deleteGyroCleanRecord({
  devId: 'your-device-id',
  uuid: 'record-id-1',
});
console.log('Deletion result:', result);
```
