> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ebrc.in/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Customer

> Delete a platform customer from your account by id, removing the exporter entity and its stored DGFT connection from further eBRC generation on your platform.

Delete a platform customer. Use this when an exporter offboards from your platform. The operation returns `200` with a success flag, not `204`.

### Request example

```bash theme={"dark"}
curl --location --request DELETE 'https://ebrcapi.eximfiles.io/api/v1/platform-customers/ee849a90-7a28-49b4-8cb2-8e31041650a2' \
  --header 'x-api-key: <YOUR_API_KEY>'
```

### Response example

```json theme={"dark"}
{
  "success": true,
  "data": {
    "success": true
  },
  "statusCode": 200,
  "timestamp": "2026-07-22T11:10:44.120Z"
}
```

### Errors

* `404` when no customer with that id belongs to your account.

### Next steps

* [List remaining customers](/api-reference/customer/get).
* [Create a new customer](/api-reference/customer/create).
* Questions about data retention: [amin@eximfiles.io](mailto:amin@eximfiles.io).


## OpenAPI

````yaml DELETE /platform-customers/{id}
openapi: 3.1.0
info:
  title: eBRC API
  description: >-
    REST API for generating and managing electronic Bank Realization
    Certificates (eBRC) through DGFT's GenEBRC module. Onboard exporters,
    validate their DGFT credentials, pull inward remittance (IRM) data, submit
    certificate generation requests singly or in bulk, and track them to
    completion. All JSON responses are wrapped in the standard envelope {
    success, data, statusCode, timestamp }; the schemas on each endpoint
    describe the data field.
  contact:
    name: Eximfiles support
    email: amin@eximfiles.io
  version: 1.0.0
servers:
  - url: https://ebrcapi.eximfiles.io/api/v1
    description: Production
  - url: https://ebrcapi.dev.eximfiles.com/api/v1
    description: Sandbox
security:
  - x-api-key: []
paths:
  /platform-customers/{id}:
    delete:
      summary: Delete a platform customer
      description: >-
        Delete a platform customer. Returns 200 with a success flag in the data
        field.
      operationId: deletePlatformCustomer
      parameters:
        - name: id
          in: path
          required: true
          description: The customer ID
          schema:
            type: string
      responses:
        '200':
          description: Deletion confirmation
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
        '404':
          description: Customer not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
  securitySchemes:
    x-api-key:
      type: apiKey
      name: x-api-key
      in: header

````