> 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"}}}}}}
```
