> ## 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 By Unique Id

> Delete a trigger CRMScript.

<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/rest/openapi-v3-TriggerScript.json delete /api/v1/TriggerScript/{triggerScriptUniqueId}
openapi: 3.0.0
info:
  version: v1-REST
  title: SuperOffice REST API v1
  description: SuperOffice REST API - TriggerScript
  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/TriggerScript/{triggerScriptUniqueId}:
    delete:
      tags:
        - TriggerScript
      summary: Delete Trigger Script By Unique Id
      description: >-
        Delete a trigger CRMScript.


        <para />## Online Restricted: ## The CRMScript agent is not available in
        Online by default. Access must be requested specifically when app is
        registered.
      operationId: v1TriggerScriptEntity_DeleteTriggerScriptByUniqueId
      parameters:
        - name: triggerScriptUniqueId
          in: path
          description: The unique id of the CRMScript to validate
          required: true
          schema:
            type: string
        - 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 By Unique Id](/en/api/reference/restful/agent/crmscript_agent/delete-trigger-script-by-unique-id.md)
- [SuperOffice.WebApi.Data.CRMScript DeleteTriggerScriptByUniqueIdRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.CRMScript_DeleteTriggerScriptByUniqueIdRequest.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)
- [Get Trigger Script By Unique Id](/en/api/reference/restful/rest/triggerscript/get-trigger-script-by-unique-id.md)
- [Validate Trigger Script By Unique Id](/en/api/reference/restful/rest/triggerscript/validate-trigger-script-by-unique-id.md)
