> ## 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 Sale Entity

> Deletes the SaleEntity

Calls the Sale agent service DeleteSaleEntity.
NsApiSlow threshold: 2000 ms.



## OpenAPI

````yaml /openapi/rest/openapi-v3-Sale.json delete /api/v1/Sale/{id}
openapi: 3.0.0
info:
  version: v1-REST
  title: SuperOffice REST API v1
  description: SuperOffice REST API - Sale
  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/Sale/{id}:
    delete:
      tags:
        - Sale
      summary: Delete Sale Entity
      description: "Deletes the SaleEntity\n\nCalls the Sale agent service DeleteSaleEntity.\r\nNsApiSlow threshold: 2000 ms."
      operationId: v1SaleEntity_DeleteSaleEntity
      parameters:
        - name: id
          in: path
          description: The SaleEntity to be deleted.
          required: true
          schema:
            type: integer
            format: int32
        - 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: SaleEntity deleted.
        '412':
          description: >-
            Delete aborted because SaleEntity has changed since the requested
            If-Unmodified-Since timestamp.
      security:
        - SuperOffice_Password: []
          SuperId_Authentication: []
components: {}

````

## Related topics

- [Delete Sale Entity](/en/api/reference/restful/agent/sale_agent/delete-sale-entity.md)
- [NSSaleAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSSaleAgent.md)
- [SuperOffice.WebApi.Agents.SaleAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.SaleAgent.md)
- [SuperOffice.WebApi.Agents.ISaleAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ISaleAgent.md)
- [Delete Sale Type Entity](/en/api/reference/restful/rest/list_saletype/delete-sale-type-entity.md)
- [Delete Sale Stage Entity](/en/api/reference/restful/rest/list_rating/delete-sale-stage-entity.md)
