> ## 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 Trigger Script Entity

> Deletes the TriggerScriptEntity

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



## OpenAPI

````yaml /openapi/agent/openapi-v3-CRMScriptAgent.json post /api/v1/Agents/CRMScript/DeleteTriggerScriptEntity
openapi: 3.0.0
info:
  version: v1-Agents
  title: SuperOffice Agent API v1
  description: SuperOffice Agent API - CRMScriptAgent
  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/CRMScript/DeleteTriggerScriptEntity:
    post:
      tags:
        - CRMScript_Agent
      summary: Delete Trigger Script Entity
      description: "Deletes the TriggerScriptEntity\n\nNsApiSlow threshold: 5000 ms.\r\n<para />## Online Restricted: ## The CRMScript agent is not available in Online by default. Access must be requested specifically when app is registered."
      operationId: v1CRMScriptAgent_DeleteTriggerScriptEntity
      parameters:
        - name: triggerScriptEntityId
          in: query
          description: The identity of the TriggerScriptEntity
          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

- [Delete Trigger Script Entity](/en/api/reference/restful/rest/triggerscript/delete-trigger-script-entity.md)
- [SuperOffice.WebApi.Agents.ICRMScriptAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ICRMScriptAgent.md)
- [SuperOffice.WebApi.Agents.CRMScriptAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.CRMScriptAgent.md)
- [Delete Trigger Script By Unique Id](/en/api/reference/restful/rest/triggerscript/delete-trigger-script-by-unique-id.md)
- [SuperOffice.WebApi.Data.CRMScript DeleteTriggerScriptByUniqueIdRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.CRMScript_DeleteTriggerScriptByUniqueIdRequest.md)
