---
title: "Delete a Single Object"
description: "This function deletes a single existing object of the given type and with the given ID."
permalink: /docs/backend-api/api-reference/delete-a-single-object/
---
# Delete a Single Object

This function deletes a single existing object of the given type and with the given ID.

| Relative URL | HTTP Request Method |
| --- | --- |
| `/api/v4/backend-deployment-id/objects/model/object-id.json` | DELETE |

<Info>

* Replace *`model`* with the type of object that you wish to delete (as defined in the deployment’s released data model)
* Replace *`object-id`* with the ID of the specific object.

</Info>

### Parameters

This function does not take any parameters.

<Info>

For deleting more than one object in a request, refer to the [Batch Operations](/docs/backend-api/api-reference/batch-operations-v4-api/) section.

</Info>

### Response

This function does not provide a response. The response body will simply be empty (and a `200` response code indicates success as usual).

### Example

<Info title={"BASE-URL"}>

The below examples contain a `BASE-URL` placeholder. Please refer to the [HTTP Endpoints](/docs/backend-api/introduction/#http-endpoints) section to get the base URL relevant to your deployment.

</Info>

#### HTTP

```http
DELETE BASE-URL/api/v4/533bda53027894f69b001055/objects/tasks/eacb4836-f1b9-11e1-9750-001cc01904e3.json
```

#### curl

```shell
curl "BASE-URL/api/v4/533bda53027894f69b001055/objects/tasks/eacb4836-f1b9-11e1-9750-001cc01904e3.json" \
    -u "533bda53027894f69b001055:7Ajj5htRY1uzw7b4w23V" \
    -X DELETE
```

#### ruby

```ruby
require 'rest-client'
journey = RestClient::Resource.new "BASE-URL/api/v4", "533bda53027894f69b001055", "7Ajj5htRY1uzw7b4w23V"
journey["533bda53027894f69b001055/objects/tasks/eacb4836-f1b9-11e1-9750-001cc01904e3.json"].delete
```

