---
title: "Update Subtask"
method: PUT
path: "/api/datasubject/v2/subtasks/{subtaskID}"
tags: ["Subtasks"]
---

# Update Subtask

`PUT /api/datasubject/v2/subtasks/{subtaskID}`

Use this API to update an existing subtask.

## Path parameters

- `subtaskID` string, uuid, required — Sub-Task UUID

## Request body

- PrivacyAutomationDataSubjectRequestDSRAutomationSubTaskUpdateV2Dto
  - `userEmail` string, email — Email of the user associated with the subtask
  - `description` string, required — Description of the subtask
  - `deadline` string, date-time — Deadline for the subtask
  - `reminder` string, date-time — Reminder date for the subtask
  - `required` boolean — Whether the subtask is required
  - `assignedTogroup` boolean — Whether the subtask is assigned to a group
  - `groupName` string — Name of the group if assigned to a group
  - `taskName` string — Name of the task

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `429` — Too Many Requests. For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).
- `500` — Internal Server Error

---

[API](https://skmtc.net/onetrust/apis/platform-access-management.md) · [All operations](https://skmtc.net/onetrust/apis/platform-access-management/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onetrust/platform-access-management/versions/21de3aa0b170/schema)
