For AI agents: this page in Markdown: https://www.pubnub.com/docs/admin-api/delete-customer.md. Documentation index: https://www.pubnub.com/llms-full.txt.

Delete customer

DELETE 

/v2/oem/customers/:customerId

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"
  ]
}