---
search:
  tags:
    - helpdesk
    - DELETE
seo:
  description: >-
    Disables helpdesk functionality for a specific… Reference for the DELETE
    /helpdesk/email-accounts/{accountId}/disable endpoint in the Leadtime Public
    API API.
sidebar:
  badge: DELETE
  label: Disable helpdesk for email account
title: Disable helpdesk for email account
type: openapi-operation
---
Disables helpdesk functionality for a specific email account. Any account-level override settings are preserved but not applied until re-enabled.

**What this does:**
- Disables helpdesk processing for the specified email account
- Stops automatic email pulling and task creation for this account
- Preserves all account-specific settings for future re-enabling
- The account settings remain in the database but are not used

**How it works:**
1. The system verifies the email account exists and belongs to the workspace
2. Sets `isEnabled: false` for the account's helpdesk settings
3. All account-level overrides are preserved (task defaults, auto-reply, etc.)
4. The account is removed from automated email pulling cron jobs

**After disabling:**
- No new emails will be pulled from this account
- No tasks will be created from emails sent to this account
- Existing tasks and email history remain unchanged
- Settings can be restored by re-enabling the account

**Use cases:**
- Temporarily disable helpdesk for an account (e.g., during maintenance)
- Stop processing emails for a specific account without losing configuration
- Test different configurations by disabling/enabling accounts

**Error handling:**
Returns 404 if the email account is not found or doesn't belong to the workspace.

**Note:** This endpoint requires the `WsSettings.manageSettings` permission.

<Operation source="api-reference" id="helpdeskcontroller-disablehelpdeskforaccount" />
