---
title: "Link Requests"
method: PUT
path: "/api/datasubject/v2/requestqueues/{requestQueueRefId}/linkrequest"
tags: ["Request Queues"]
---

# Link Requests

`PUT /api/datasubject/v2/requestqueues/{requestQueueRefId}/linkrequest`

## Request

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

Use this API to link or unlink an existing request to one or multiple related requests.

## Path parameters

- `requestQueueRefId` string, required: Request Reference ID

## Request body

- PrivacyAutomationDataSubjectRequestDSRAutomationLinkV2Request
  - `LinkRequests` string[]
  - `UnlinkRequests` string[]
  - `comment` string: A comment to accompany the current action of linking/ unlinking requests

## 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)
