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

# Delete Reseller

> Deletes an existing reseller

<Warning>
  This action cannot be undone. The reseller and all its associated data will be permanently deleted.
</Warning>

## Path Parameters

<ParamField path="resellerId" type="string" required>
  The unique identifier of the reseller to delete
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE "https://api.telzino.com/v1/resellers/reseller-123" \
    -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
  ```

  ```javascript JavaScript theme={null}
  const resellerId = 'reseller-123';

  const response = await fetch(
    `https://api.telzino.com/v1/resellers/${resellerId}`,
    {
      method: 'DELETE',
      headers: { 'Authorization': 'Bearer YOUR_ACCESS_TOKEN' }
    }
  );

  const result = await response.json();
  console.log(result.message); // "Reseller successfully deleted"
  ```

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

  reseller_id = 'reseller-123'

  response = requests.delete(
      f'https://api.telzino.com/v1/resellers/{reseller_id}',
      headers={'Authorization': 'Bearer YOUR_ACCESS_TOKEN'}
  )

  result = response.json()
  print(result['message'])  # "Reseller successfully deleted"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "message": "Reseller successfully deleted"
  }
  ```

  ```json 400 theme={null}
  {
    "error": "bad_request",
    "message": "Invalid reseller ID"
  }
  ```

  ```json 404 theme={null}
  {
    "error": "not_found",
    "message": "Reseller not found"
  }
  ```
</ResponseExample>
