# Delete entity record by ID

> Deletes an existing entity record.

Deletes an existing entity record.

## API endpoint

`DELETE` `BaseURL/EntityService/<Entity>/delete/{id}`

* Depending on the cloud platform you are using, use the associated [Base URL](https://docs.uipath.com/data-service/automation-cloud/latest/api-guide/base-url).

## Request headers

| Header | Value |
| --- | --- |
| **Authorization** | Bearer `<access_token>` |

:::note
Replace all the values between the angle brackets `<...>` with their corresponding use-case values.

The `<access_token>` is the one you received when you authorized the external application. It is available for 1 hour, then you need to generate a new one, or request a refresh token.
:::

## Path variables

| Path variable | Data type | Description | Default value |
| --- | --- | --- | --- |
| **id** (required) | `string` | The ID of the entity's record you want to delete from Data Fabric / Data Service. | NA |

## Responses

### 200 OK

```
true
```

### 401 Unauthorized

You are not authenticated to access Data Fabric / Data Service. Make sure your Assistant or Robot is connected to a modern folder in your account.

### 403 Forbidden

You don't have permission to access the entity, field or record or you are using an unsupported robot type. Please contact your administrator for necessary permissions.
