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

# Delete Account

> This endpoint permanently deletes a user's account.

## DELETE /accounts

This endpoint permanently deletes the authenticated user's account and all associated data including sites, API keys, URL discoveries, and jobs.

<Warning>
  This is a destructive operation. Once an account is deleted, all data is permanently removed and cannot be recovered.
</Warning>

### Response

<ResponseField name="success" type="boolean">
  Whether the account deletion was successful.
</ResponseField>

<ResponseField name="message" type="string">
  A status message.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE https://api.llmgenerator.com/api/v1/accounts \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```

  ```javascript Node.js theme={null}
  const response = await fetch(
    'https://api.llmgenerator.com/api/v1/accounts',
    {
      method: 'DELETE',
      headers: { 'Authorization': 'Bearer YOUR_API_KEY' }
    }
  );
  ```
</RequestExample>

<ResponseExample>
  ```json Success (200) theme={null}
  {
    "success": true,
    "message": "Account deleted successfully"
  }
  ```

  ```json Unauthorized (401) theme={null}
  {
    "message": "API key context not found"
  }
  ```
</ResponseExample>
