# Delete Custom Entity

Deletes an item of a Custom Entity type, identified by its denominator and item identifier.
Returns 204 No Content when the item has been deleted.
            
## Authentication
            
Requires a valid API key in the X-API-KEY header.
            
## Response
            
204 No Content — Custom Entity item deleted.
            
## Error Responses
            
- 401 Unauthorized — Missing or invalid API key.
- 404 Not Found — Custom Entity denominator or item with the given identifier does not exist.
- 500 Internal Server Error — Unexpected technical error.
            
## Example
            
Request:
http
DELETE /CustomEntities('Brand')/item(42) HTTP/1.1
X-API-KEY: your-api-key-here

            
Response:
http
HTTP/1.1 204 No Content

Endpoint: DELETE /CustomEntities('{customEntityDenominator}')/item({itemId})
Version: 2.0.0

## Header parameters:

  - `X-API-KEY` (string)
    Tenant's API key (required)

  - `Accept-Language` (string)
    Accept-Language header (not used for delete, accepted for consistency)

## Path parameters:

  - `customEntityDenominator` (string, required)
    Custom Entity denominator (natural language name from the PIM)

  - `itemId` (integer, required)
    Custom Entity item identifier

## Response 400 fields (application/json):

  - `validationFailures` (object,null)
    Example: {"Layout":[{"PropertyName":"Layout","ErrorMessage":"The layout must contain exactly the attributes of the stored layout. Missing: tags. Unknown: extra_field.","AttemptedValue":null}]}

## Response 401 fields (application/json):

  - `type` (string,null)

  - `title` (string,null)

  - `status` (integer,null)

  - `detail` (string,null)

  - `instance` (string,null)

## Response 500 fields (application/json):

  - `error` (string,null)

  - `details` (any,null)


## Response 204 fields
