> For the complete documentation index, see [llms.txt](https://2sign-co-il.gitbook.io/2sign.co.il-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://2sign-co-il.gitbook.io/2sign.co.il-docs/tasks-more-actions/delete-tasks.md).

# Delete Tasks

Header

```
Content-Type:multipart/form-data
Authorization:'Bearer token_value_from_login'
```

#### Delete Task

Deletes a task and all its associated signers and files.

## POST /api/V2/BaseTasks/DeleteTaskByGuid

> DeleteTaskByGuid

```json
{"openapi":"3.1.1","info":{"title":"Customer API","version":"1.0.0"},"servers":[{"url":"/"}],"paths":{"/api/V2/BaseTasks/DeleteTaskByGuid":{"post":{"tags":["BaseTasks"],"summary":"DeleteTaskByGuid","operationId":"DeleteTaskByGuid_POST","parameters":[{"schema":{"type":"string"},"name":"guid","in":"query","required":true}],"responses":{"200":{"description":"Success (Custom Example)","content":{"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Bad Request"},"500":{"description":"Internal Server Error"}}}}}}
```

#### Delete a Specific Signer from a Task

For Single Tasks, there is typically only one signer, so using `DeleteTaskByGuid` sufficient to cancel the task.  `DeleteTaskClientByGuid`  is intended for **Signature Routine** or **Group** workflows, where multiple signers are involved and you need to remove a specific signer from the process without canceling the entire task or affecting the remaining participants.

## POST /api/V2/BaseTasks/DeleteTaskClientByGuid

> DeleteTaskClientByGuid

```json
{"openapi":"3.1.1","info":{"title":"Customer API","version":"1.0.0"},"servers":[{"url":"/"}],"paths":{"/api/V2/BaseTasks/DeleteTaskClientByGuid":{"post":{"tags":["BaseTasks"],"summary":"DeleteTaskClientByGuid","operationId":"DeleteTaskClientByGuid_POST","parameters":[{"schema":{"type":"string"},"name":"guid","in":"query","required":true}],"responses":{"200":{"description":"Success (Custom Example)","content":{"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Bad Request"},"500":{"description":"Internal Server Error"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://2sign-co-il.gitbook.io/2sign.co.il-docs/tasks-more-actions/delete-tasks.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
