> ## 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 Batch Task

> Delete a batch task from the database.



## OpenAPI

````yaml /openapi/rest/openapi-v3-BatchTask.json delete /api/v1/BatchTask/{batchTaskId}
openapi: 3.0.0
info:
  version: v1-REST
  title: SuperOffice REST API v1
  description: SuperOffice REST API - BatchTask
  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/BatchTask/{batchTaskId}:
    delete:
      tags:
        - Batch
      summary: Delete Batch Task
      description: Delete a batch task from the database.
      operationId: v1Batch_DeleteBatchTask
      parameters:
        - name: batchTaskId
          in: path
          description: The batchTask id to delete.
          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

- [Delete Batch Tasks](/en/api/reference/restful/agent/batch_agent/delete-batch-tasks.md)
- [Delete Batch Task](/en/api/reference/restful/agent/batch_agent/delete-batch-task.md)
- [SuperOffice.WebApi.Data.Batch DeleteBatchTaskRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Batch_DeleteBatchTaskRequest.md)
- [SuperOffice.WebApi.Data.Batch DeleteBatchTasksRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Batch_DeleteBatchTasksRequest.md)
- [NSBatchAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSBatchAgent.md)
- [SuperOffice.WebApi.Agents.BatchAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.BatchAgent.md)
