# Bulk delete custom object records

> Bulk delete custom object records. Returns an HTTP 200 receipt with deleted_record_ids for applied deletions; the list may be empty. Validation, business rules, or approvals can prevent or defer deletion. With all_or_nothing false, some records may be deleted while others fail or await approval; inspect the response status, receipt, and any error or approval details, including on non-success responses. Pending approval actions are not completed deletions. Before retrying, reconcile applied IDs and outstanding approval actions and address failures; do not blindly retry the original batch.

POST

/custom-objects/{custom\_object\_api\_name}/records/bulk-delete/

Deletes multiple records from a specified custom object by ID.

**Note:** Deletion may require that related records, fields, or dependencies are removed or handled first.

#### Helpful resources

-   [Create and manage custom objects](https://developer.rippling.com/documentation/rest-api/guides/customobjects)
-   [Get started with custom objects](https://developer.rippling.com/documentation/rippling-platform/custom-objects/getting-started)
-   [Guide to data modeling with custom objects](https://help.rippling.com/article?articleId=919163979688)

**Note:** There is a limit of 200 rows per request on the `rows_to_delete` field.

### Required Scopes

-   custom-object-records.read-write
    
-   custom-objects.read-write.owner
    

### Request

Path Parameters

**custom\_object\_api\_name** string required

The API name of the custom object.

-   application/json

**Body**

**rows\_to\_delete** string\[\]

A list of record IDs to delete, e.g. \[id\_1, id\_2\].

**all\_or\_nothing** boolean

If true, the entire operation fails if any record fails. If false, partial success is allowed.

## Responses

-   200
-   400
-   401
-   403
-   404
-   422
-   500

Deletion receipt identifying records whose deletions were applied.

-   application/json

-   Schema
-   Example (from schema)

**Schema**

**deleted\_record\_ids** string\[\] required

IDs whose deletions were applied. May be empty; excludes actions awaiting approval.

**property name\*** object

```json
{
  "deleted_record_ids": [
    "string"
  ]
}
```

Invalid deletion input or a validation/business-rule exception.

Authentication is required.

Access denied or deletion blocked by a business rule. May include a partial deletion receipt.

The Custom Object does not exist or is inaccessible.

Business-rule errors, approval-required/pending actions, or partial failure. Receipt IDs, when present, identify applied deletions, not requested or pending deletions.

Unexpected deletion failure.

Source: https://developer.rippling.com/documentation/rest-api/reference/bulk-delete-custom-objects-custom-object-api-name-records

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
