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

# Customer deleted

export const scope_0 = "event:write"

Send this event any time a customer is deleted in your system. This will remove the customer from Smile. The only required [customer property](/guides/deprecated/custom-platform/custom-backend-int/custom-customer-events/custom-customer-object) when sending this type of event is the `external_id` property.

<Callout icon="key" iconType="regular">
  This endpoint requires the **{scope_0}** scope.
</Callout>

<Panel>
  <RequestExample>
    ```shell Delete a customer theme={null}
    curl --request POST \
      --url https://api.smile.io/v1/events/ \
      --header 'Content-Type: application/json' \
      --header 'Authorization: Bearer {token}' \
      --data '
    {
      "event": {
        "topic": "customer/deleted",
        "data": {
          "external_id": "1"
        }
      }
    }'
    ```
  </RequestExample>

  <ResponseExample>
    ```json 202 theme={null}
    ```
  </ResponseExample>
</Panel>
