---
source_url: https://www.pubnub.com/docs/admin-api/delete-entity-class-by-id
title: Delete entity class by ID
---

# Delete entity class by ID

> For AI agents: documentation index at https://www.pubnub.com/llms-full.txt

Delete entity class by ID

## Request

Example

```
{
  "errors": [
    {
      "errorCode": "DS-0100",
      "message": "Entity not found: user-42",
      "path": "/payload/score",
      "location": {
        "offset": 6,
        "length": 5
      }
    }
  ]
}
```

Example

```
{
  "errors": [
    {
      "errorCode": "DS-0100",
      "message": "Entity not found: user-42",
      "path": "/payload/score",
      "location": {
        "offset": 6,
        "length": 5
      }
    }
  ]
}
```

Example

```
{
  "errors": [
    {
      "errorCode": "DS-0100",
      "message": "Entity not found: user-42",
      "path": "/payload/score",
      "location": {
        "offset": 6,
        "length": 5
      }
    }
  ]
}
```

Example

```
{
  "errors": [
    {
      "errorCode": "DS-0100",
      "message": "Entity not found: user-42",
      "path": "/payload/score",
      "location": {
        "offset": 6,
        "length": 5
      }
    }
  ]
}
```

Example

```
"Accept header value is not acceptable. Supported values are [application/json]"
```

Example

```
{
  "errors": [
    {
      "errorCode": "DS-0100",
      "message": "Entity not found: user-42",
      "path": "/payload/score",
      "location": {
        "offset": 6,
        "length": 5
      }
    }
  ]
}
```

Example

```
{
  "errors": [
    {
      "errorCode": "DS-0100",
      "message": "Entity not found: user-42",
      "path": "/payload/score",
      "location": {
        "offset": 6,
        "length": 5
      }
    }
  ]
}
```

Example

```
{
  "errors": [
    {
      "errorCode": "DS-0100",
      "message": "Entity not found: user-42",
      "path": "/payload/score",
      "location": {
        "offset": 6,
        "length": 5
      }
    }
  ]
}
```

Example

```
{
  "errors": [
    {
      "errorCode": "DS-0100",
      "message": "Entity not found: user-42",
      "path": "/payload/score",
      "location": {
        "offset": 6,
        "length": 5
      }
    }
  ]
}
```
