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

# Update Subtask Status

`PUT /api/datasubject/v2/subtasks/{subtaskId}/status`

## Request

- Base URL: `https://hostname`
- URL: `https://hostname/api/datasubject/v2/subtasks/{subtaskId}/status`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://{hostname}/api/access/v1/oauth/token` scopes: `DSAR`, `DSAR_WRITE`

Use this API to update the status of an existing subtask.

> 🗒 Things to Know
>
> - The following statuses can be passed as parameter values in the request: `IN_PROGRESS`, `FAILED`, `COMPLETED`, and `REJECTED`.
> - The Resolution ID can only be passed if the subtask status is updated to `COMPLETED` or `REJECTED`.

## Path parameters

- `subtaskId` string, uuid, required: Subtask Id

## Request body

- PrivacyAutomationDataSubjectRequestDSRAutomationUpdateSubtaskStatusRequest
  - `comment` string: Comments can be updated for system subtask status call - this can be used for reason for failure. Longer comments may impact system performance.
  - `status` 'IN_PROGRESS' | 'FAILED' | 'COMPLETED' | 'REJECTED', required: Status to be updated to completed or failed
  - `resolutionId` string, uuid: Resolution ID (can only be passed if the subtask status is updated to COMPLETED or REJECTED)

## 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.dev/onetrust/apis/privacy-automation-data-subject-request-dsr-automation.md) - [All operations](https://skmtc.dev/onetrust/apis/privacy-automation-data-subject-request-dsr-automation/llms.txt) - [OpenAPI document](https://skmtc.dev/onetrust/apis/privacy-automation-data-subject-request-dsr-automation/revisions/612f0b39b904?raw)
