> ## 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 Ref Count Entity

> Deletes the RefCountEntity

NsApiSlow threshold: 1000 ms.



## OpenAPI

````yaml /openapi/agent/openapi-v3-NumberAllocationAgent.json post /api/v1/Agents/NumberAllocation/DeleteRefCountEntity
openapi: 3.0.0
info:
  version: v1-Agents
  title: SuperOffice Agent API v1
  description: SuperOffice Agent API - NumberAllocationAgent
  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/NumberAllocation/DeleteRefCountEntity:
    post:
      tags:
        - NumberAllocation_Agent
      summary: Delete Ref Count Entity
      description: |-
        Deletes the RefCountEntity

        NsApiSlow threshold: 1000 ms.
      operationId: v1NumberAllocationAgent_DeleteRefCountEntity
      parameters:
        - name: refCountEntityId
          in: query
          description: The identity of the RefCountEntity
          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: No Content
      security:
        - SuperOffice_Password: []
          SuperId_Authentication: []
components: {}

````

## Related topics

- [NSNumberAllocationAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSNumberAllocationAgent.md)
- [SuperOffice.WebApi.Agents.INumberAllocationAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.INumberAllocationAgent.md)
- [SuperOffice.WebApi.Agents.NumberAllocationAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.NumberAllocationAgent.md)
- [Delete Country](/en/api/reference/restful/rest/list_country/delete-country.md)
- [Delete Entities](/en/api/reference/restful/agent/selection_agent/delete-entities.md)
- [Delete Country Headings](/en/api/reference/restful/rest/list_country/delete-country-headings.md)
