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

# Delete E Mail Account

> Deletes the EMailAccount

NsApiSlow threshold: 5000 ms.
<para />## Online Restricted: ## The EMail agent is not available in Online by default. Access must be requested specifically when app is registered.



## OpenAPI

````yaml /openapi/agent/openapi-v3-EMailAgent.json post /api/v1/Agents/EMail/DeleteEMailAccount
openapi: 3.0.0
info:
  version: v1-Agents
  title: SuperOffice Agent API v1
  description: SuperOffice Agent API - EMailAgent
  contact:
    name: SuperOffice DevNet
    url: https://docs.superoffice.com/en/api/index.html
    email: sdk@superoffice.com
servers:
  - url: http://localhost:56350
  - url: https://localhost:56350
security: []
tags: []
externalDocs:
  description: >-
    The SuperOffice DevNet Community has more documentation, examples, and
    discussion forums.
  url: https://community.superoffice.com/en/developer/
paths:
  /api/v1/Agents/EMail/DeleteEMailAccount:
    post:
      tags:
        - EMail_Agent
      summary: Delete E Mail Account
      description: "Deletes the EMailAccount\n\nNsApiSlow threshold: 5000 ms.\r\n<para />## Online Restricted: ## The EMail agent is not available in Online by default. Access must be requested specifically when app is registered."
      operationId: v1EMailAgent_DeleteEMailAccount
      parameters:
        - name: eMailAccountId
          in: query
          description: The identity of the EMailAccount
          required: true
          schema:
            format: int32
            type: integer
        - name: SO-AppToken
          in: header
          description: >-
            The application token that identifies the partner app. Used when
            calling Online WebAPI from a server.
          required: false
          schema:
            type: string
      responses:
        '204':
          description: No Content
      security:
        - SuperOffice_Password: []
          SuperId_Authentication: []
components: {}

````

## Related topics

- [SuperOffice.WebApi.Agents.EMailAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.EMailAgent.md)
- [SuperOffice.WebApi.Agents.IEMailAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IEMailAgent.md)
- [Save E Mail Account](/en/api/reference/restful/agent/email_agent/save-e-mail-account.md)
- [Get E Mail Account](/en/api/reference/restful/agent/email_agent/get-e-mail-account.md)
- [Get E Mail Account From E Mail Address](/en/api/reference/restful/agent/email_agent/get-e-mail-account-from-e-mail-address.md)
- [Create Default E Mail Account](/en/api/reference/restful/agent/email_agent/create-default-e-mail-account.md)
