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

# Delete Customer

> Delete a customer from your My Virtual Office account

# Delete Customer

Permanently delete a customer from your seller account. This action cannot be undone.

## Authentication

<ParamField header="X-API-Key" type="string" required>
  Your API key. Can also be provided via `Authorization: Bearer` header.
</ParamField>

## Path Parameters

<ParamField path="id" type="string" required>
  The UUID of the customer to delete.
</ParamField>

## Response

Returns `204 No Content` on success with an empty body.

## Example Request

<CodeGroup>
  ```bash cURL theme={null}
  curl -X DELETE https://app-api.my-virtual-office.com/api/customers/550e8400-e29b-41d4-a716-446655440000 \
    -H "X-API-Key: sk_live_your_api_key_here"
  ```

  ```javascript Node.js theme={null}
  const response = await fetch(
    'https://app-api.my-virtual-office.com/api/customers/550e8400-e29b-41d4-a716-446655440000',
    {
      method: 'DELETE',
      headers: {
        'X-API-Key': 'sk_live_your_api_key_here',
      },
    }
  );

  // 204 No Content - no response body
  ```

  ```python Python theme={null}
  import requests

  response = requests.delete(
      'https://app-api.my-virtual-office.com/api/customers/550e8400-e29b-41d4-a716-446655440000',
      headers={
          'X-API-Key': 'sk_live_your_api_key_here',
      }
  )

  # 204 No Content - no response body
  ```
</CodeGroup>

## Error Responses

<ResponseExample>
  ```json 401 Unauthorized theme={null}
  {
    "error": "Unauthorized",
    "message": "API key is required. Provide it via X-API-Key header or Authorization Bearer token."
  }
  ```
</ResponseExample>

<ResponseExample>
  ```json 404 Not Found theme={null}
  {
    "error": "Not Found",
    "message": "Customer not found"
  }
  ```
</ResponseExample>

## Error Codes

| HTTP Code | Error                 | Description                                           |
| --------- | --------------------- | ----------------------------------------------------- |
| 401       | Unauthorized          | Missing or invalid API key                            |
| 404       | Not Found             | Customer not found or does not belong to your account |
| 500       | Internal Server Error | Unexpected server error                               |
