---
title: "Unassociate Clients or Leads from a Task"
method: POST
path: "/communications/tasks/{task_id}/delete-people"
tags: ["Task"]
---

# Unassociate Clients or Leads from a Task

`POST /communications/tasks/{task_id}/delete-people`

Unassociate Clients or Leads from a Task

## Path parameters

- `task_id` string, required

## Headers

- `x-api-key` string, required

## Request body

- RequestUpdateTaskPeople — structure for adding/removing associated clients and/or leads to/from a Task
  - `task_id` string, required — task id
  - `associated_people` RequestFSObject[] — List of Users and Clients who can be added to tasks
    - `object_type_id` integer — ObjectTypeId
    - `id` integer — object Identifier

## Response `200`

Task id created

- ResponseTaskPeople — structure for adding/removing associated clients and/or leads to/from a Task
  - `id` string, required — task id
  - `associate_people` ResponseFSObject[] — associated people
    - `object_type_id` integer — ObjectTypeId
    - `object_type` string — Object Type label
    - `id` integer — object Identifier
    - `name` string — object name

---

[API](https://skmtc.net/wodify/apis/leads.md) · [All operations](https://skmtc.net/wodify/apis/leads/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wodify/leads/revisions/974500ca0714/schema)
