---
updatedAt: 2026-05-27T12:51:18.000Z
agentTools:
  projectIndex: https://developer.onetrust.com/onetrust/llms.txt
---

# Delete Requests

Use this API to delete requests in bulk. The associated subtasks, attachments, and Results Summaries will also be deleted. Request deletion is a permanent action that should be exercised with caution.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Privacy Automation - Data Subject Request (DSR) Automation",
    "version": "1.0",
    "contact": {
      "name": "OneTrust Support",
      "url": "https://my.onetrust.com/s/contactsupport"
    },
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0"
    },
    "description": "The Privacy Rights Automation are used to manage, process, and fulfill data subject access requests (DSARs), including request creation, subtask management, resolution codes, verification methods, and audit history."
  },
  "servers": [
    {
      "url": "https://{hostname}",
      "variables": {
        "hostname": {
          "default": "hostname",
          "description": "The OneTrust hostname such as app.onetrust.com, app-eu.onetrust.com, app-de.onetrust.com, app-uk.onetrust.com, app-apac.onetrust.com, trial.onetrust.com, or uat.onetrust.com."
        }
      }
    }
  ],
  "tags": [
    {
      "name": "Request Queues",
      "description": "APIs used to create, search, update, and manage privacy request queues.",
      "externalDocs": {
        "description": "OpenAPI 3.1.0 - Download Definition",
        "url": "https://developer.onetrust.com/onetrust/openapi/privacy-automation-data-subject-request-dsr-automation.json"
      },
      "x-displayName": "Request Queues"
    }
  ],
  "paths": {
    "/api/datasubject/v2/requestqueues/bulkdelete/{language}": {
      "put": {
        "operationId": "bulkDeleteUsingPUT",
        "summary": "Delete Requests",
        "description": "Use this API to delete requests in bulk. The associated subtasks, attachments, and Results Summaries will also be deleted. Request deletion is a permanent action that should be exercised with caution.",
        "tags": [
          "Request Queues"
        ],
        "x-onetrust": {
          "spec-label": "https://developer.onetrust.com/onetrust/openapi/privacy-automation-data-subject-request-dsr-automation.json"
        },
        "parameters": [
          {
            "name": "language",
            "in": "path",
            "required": true,
            "schema": {
              "description": "A language code that identifies the language in which the request data should be returned, assuming translations are available for that language. \nExamples: en-us for English, de for German, fr for French, etc.",
              "type": "string"
            },
            "example": "en-us"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PrivacyAutomation-DataSubjectRequestDSRAutomation_RequestQueueBulkDeleteV2Dto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PrivacyAutomation-DataSubjectRequestDSRAutomation_RequestQueueBulkDeleteResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "429": {
            "description": "Too Many Requests. \nFor more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).",
            "headers": {
              "Retry-After": {
                "schema": {
                  "description": "The number of seconds after which requests will be allowed again.",
                  "format": "int32"
                }
              },
              "ot-period": {
                "schema": {
                  "description": "The unit of time for which the rate limit applies",
                  "enum": [
                    "HOUR",
                    "MINUTE"
                  ]
                }
              },
              "ot-ratelimit-event-id": {
                "schema": {
                  "description": "The unique identifier for the rate-limiting event.",
                  "format": "uuid"
                }
              },
              "ot-request-made": {
                "schema": {
                  "description": "The number of requests made within the specified period.",
                  "format": "int32"
                }
              },
              "ot-requests-allowed": {
                "schema": {
                  "description": "The number of requests allowed within the specified period.",
                  "format": "int32"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "PrivacyAutomation-DataSubjectRequestDSRAutomation_OAUTH2": [
              "DSAR_WRITE"
            ]
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "PrivacyAutomation-DataSubjectRequestDSRAutomation_RequestQueueBulkDeleteResponseDto": {
        "type": "object",
        "properties": {
          "requestsDeleted": {
            "description": "Number of requests which are deleted in the API call (up to a maximum of 50 requests).",
            "type": "integer",
            "format": "int32"
          },
          "requestsPending": {
            "description": "Number of requests which match the filter criteria which have not been deleted in this call.API should be called again to delete additional requests.",
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "PrivacyAutomation-DataSubjectRequestDSRAutomation_DateRangeDto": {
        "type": "object",
        "properties": {
          "StartDate": {
            "description": "Start date for filter, provide in yyyy-MM-dd'T'HH:mm:ss.SSS'Z' format",
            "type": "string",
            "example": "2019-05-31T12:43:24.173Z"
          },
          "EndDate": {
            "description": "End date for filter, provide in yyyy-MM-dd'T'HH:mm:ss.SSS'Z' format",
            "type": "string",
            "example": "2019-05-31T12:44:24.173Z"
          }
        }
      },
      "PrivacyAutomation-DataSubjectRequestDSRAutomation_RequestQueueBulkDeleteV2Dto": {
        "type": "object",
        "properties": {
          "RequestIDs": {
            "description": "An array of 10-character Unique IDs of the Request(s) to be deleted.",
            "type": "array",
            "items": {
              "type": "string"
            },
            "example": [
              "8KDL2A4JAM",
              "S62QF8K5PJ"
            ],
            "maxItems": 2000,
            "minItems": 0
          },
          "CreatedDateRange": {
            "description": "A date range for outlining start date and end date. All requests with a Created Date within this range will be deleted.",
            "$ref": "#/components/schemas/PrivacyAutomation-DataSubjectRequestDSRAutomation_DateRangeDto"
          },
          "EndDateRange": {
            "description": "A date range for outlining start date and end date. All requests with an End Date within this range will be deleted.",
            "$ref": "#/components/schemas/PrivacyAutomation-DataSubjectRequestDSRAutomation_DateRangeDto"
          },
          "ModifiedDateRange": {
            "description": "A date range for outlining start date and end date. All requests with a Modified Date within this range will be deleted.",
            "$ref": "#/components/schemas/PrivacyAutomation-DataSubjectRequestDSRAutomation_DateRangeDto"
          },
          "Status": {
            "description": "Filter requests by the Stage name. Only requests in this stage will be deleted.",
            "type": "string",
            "example": "EXPIRED"
          },
          "Organization": {
            "description": "Filter requests by Organization. Only requests in this organization will be deleted.",
            "type": "string",
            "example": "BRAND A"
          },
          "Country": {
            "description": "Filter requests by Country code. Only requests with this Country selected will be deleted.",
            "type": "string",
            "example": "US"
          },
          "WorkflowID": {
            "description": "Filter requests by Workflow ID. Only requests using this workflow will be deleted.",
            "type": "string",
            "example": "4f068b73-4edc-4920-a00c-9f39cd01c5f6"
          },
          "WebformID": {
            "description": "Filter requests by Web Form ID. Only requests using this web form will be deleted.",
            "type": "string",
            "example": "0388dd81-0c41-4181-a47c-1e2777727b73"
          },
          "RequestType": {
            "description": "Filter requests by Request Type. Only requests with the Request Type will be deleted.",
            "type": "string",
            "example": "Opt Out"
          },
          "SubjectType": {
            "description": "Filter requests by Subject Type. Only requests with the Subject Type will be deleted.",
            "type": "string",
            "example": "Employee"
          }
        }
      }
    },
    "securitySchemes": {
      "PrivacyAutomation-DataSubjectRequestDSRAutomation_OAUTH2": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://{hostname}/api/access/v1/oauth/token",
            "scopes": {
              "DSAR_READ": "Read-only access to DSAR objects scope for external systems",
              "DSAR_WRITE": "Access to DSAR objects scope for external systems",
              "DSAR": "Access to DSAR objects scope for external systems"
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": false,
    "metrics-enabled": false
  },
  "x-onetrust": {
    "spec-label": "OpenAPI 3.1.0"
  }
}
```

# Sibling pages

* [Create Request](https://developer.onetrust.com/onetrust/reference/createrequestqueuefrommessageusingpost.md)
* [Get Deletion Certificate](https://developer.onetrust.com/onetrust/reference/getdeletioncertificateusingget.md)
* [Search Requests](https://developer.onetrust.com/onetrust/reference/searchforrequestusingpost.md)
* [Get Request Audit History](https://developer.onetrust.com/onetrust/reference/getrequesthistorybyidusingget.md)
* [Get Request Creation Logs](https://developer.onetrust.com/onetrust/reference/getrequestcreationlogsusingget.md)
* [Get List of Requests](https://developer.onetrust.com/onetrust/reference/getallrequestqueuesv2usingget.md)
* [Add Comment to Request](https://developer.onetrust.com/onetrust/reference/addcommentsusingput.md)
* [Update Request Custom Fields](https://developer.onetrust.com/onetrust/reference/updatecustomfieldsusingput.md)
* [Get Request](https://developer.onetrust.com/onetrust/reference/getrequestbyidusingget.md)
* [Update Request Stage](https://developer.onetrust.com/onetrust/reference/movestatusbyrequestrefidusingput.md)
* [Link Requests](https://developer.onetrust.com/onetrust/reference/linkrequestsusingput.md)
* [Pause Request Deadline](https://developer.onetrust.com/onetrust/reference/pauseorresumedeadlineusingput.md)
* [Create Request](https://developer.onetrust.com/onetrust/reference/createrequestqueuev2usingpost.md)
* [Get Request Audit History](https://developer.onetrust.com/onetrust/reference/getrequesthistory.md)