---
search:
  tags:
    - Objects and records
    - DELETE
seo:
  description: >-
    Archives rather than deletes: the record keeps its id… Reference for the
    DELETE /api/v1/objects/{objectId}/records/{recordId} endpoint in the Taylorz
    CRM API.
sidebar:
  label: Archive a record
  badge: DELETE
title: Archive a record
type: openapi-operation
---
Archives rather than deletes: the record keeps its id and its links, and reads can still name it.

`DELETE /api/v1/objects/{objectId}/records/{recordId}`

**Request body** (`application/json`, required)

- `revision` (integer, required)

Request body example:

```json
{
  "revision": 1
}
```

**Responses**

- `200` — The record as it now stands
- `400` — The request body, query or parameters were refused
- `401` — The access token is missing, invalid or revoked
- `403` — The tenant's module is off, or the token's scope or the member's role does not permit the action
- `404` — No such record, or none the caller may read
- `409` — The operation conflicts with the current state
- `413` — The request exceeds the route's body limit
- `500` — An unexpected failure

Response example, 200:

```json
{
  "archivedAt": "2019-08-24T14:15:22Z",
  "createdAt": "2019-08-24T14:15:22Z",
  "id": "string",
  "name": "string",
  "objectId": "string",
  "revision": 1,
  "updatedAt": "2019-08-24T14:15:22Z",
  "values": {
    "property1": "string",
    "property2": "string"
  }
}
```
