---
source_url: https://www.pubnub.com/docs/admin-api/delete-customer
title: Delete customer
---

# Delete customer

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

Permanently deletes an OEM customer and all of its keyset assignments.

The keysets themselves are not deleted; they stay in your account and can be assigned to another customer. The customer's `externalId` and name become available for reuse. This operation cannot be undone.

## Request

Example

```
{
  "statusCode": 0,
  "error": "BadRequest",
  "message": [
    "string"
  ]
}
```

Example

```
{
  "statusCode": 0,
  "error": "Unauthorized",
  "message": [
    "string"
  ]
}
```

Example

```
{
  "statusCode": 0,
  "error": "Forbidden",
  "message": [
    "string"
  ]
}
```

Example

```
{
  "statusCode": 0,
  "error": "NotFound",
  "message": [
    "string"
  ]
}
```

Example

```
{
  "statusCode": 0,
  "error": "InternalError",
  "message": [
    "string"
  ]
}
```
