---
title: forceDelete
framework: CloudKit JS
role: symbol
role_heading: Instance Method
platforms: [cloudkit js 1.0+]
path: cloudkitjs/cloudkit.recordsbatchbuilder/forcedelete
---

# forceDelete

Deletes one or more records regardless of conflicts.

## Declaration

```data
RecordsBatchBuilder forceDelete(
	CloudKit.Record|CloudKit.Record[] records
);
```

## Parameters

- `records`: A doc://com.apple.cloudkitjs/documentation/CloudKitJS/CloudKit.Record dictionary representing the record to delete, if you are deleting a single record. If you are deleting multiple records, this parameter is an array of doc://com.apple.cloudkitjs/documentation/CloudKitJS/CloudKit.Record dictionaries. The recordChangeTag key is not required in the doc://com.apple.cloudkitjs/documentation/CloudKitJS/CloudKit.Record dictionaries.

## Return Value

Return Value The object that received this method call.

## See Also

### Deleting Records

- [delete](cloudkitjs/cloudkit.recordsbatchbuilder/delete.md)
