**Source URL:** https://limited.veevavault.dev/commercial/vault-api/api-reference/26.1/documents/document-relationships/delete-multiple-document-relationships

# Delete Multiple Document Relationships

Delete relationships from multiple documents.

*   The maximum input file size is 1GB.
*   The values in the input must be UTF-8 encoded.
*   CSVs must follow the standard RFC 4180 format, with some [exceptions](/commercial/vault-api/references/csv-rfc-deviations).
*   The maximum batch size is 1000.

You cannot create or delete standard relationship types. Examples of standard relationship types include *Based On* and *Original Source*. Learn about [document relationships in Vault Help](https://platform.veevavault.help/en/lr/21330).

<Endpoint path="/api/{version}/objects/documents/relationships/batch" method="DELETE" />

## Headers

| Name | Description |
| --- | --- |
| `Content-Type` | `application/json` (default) or `text/csv` |
| `Accept` | `application/json` (default) or `text/csv` |

## Body Parameters

<Aside>
Some HTTP clients do not support `DELETE` requests with a body. As a workaround for these cases, you can simulate this request using the `POST` method with the `_method=DELETE` query parameter.
</Aside>

Create a CSV or JSON input file.

<FieldTable>
| Name | Description |
| --- | --- |
| `id`<Requiredness type="required" /> | The ID of the relationship to delete. |
</FieldTable>

## Request

<CodeExample title="">
```bash
curl -X DELETE -H "Authorization: {SESSION_ID}" \
-H "Content-Type: text/csv" \
-H "Accept: text/csv" \
--data-raw 'id
10
11
12' \
https://myvault.veevavault.com/api/v15.0/objects/documents/relationships/batch
```
</CodeExample>

## Response

<CodeExample title="">
```json
{
    "responseStatus": "SUCCESS",
    "data": [
        {
            "responseStatus": "SUCCESS",
            "id": 10
        },
        {
            "responseStatus": "SUCCESS",
            "id": 11
        },
        {
            "responseStatus": "FAILURE",
            "errors": [
                {
                    "type": "INVALID_DATA",
                    "message": "Error message describing why this relationship was not deleted."
                }
            ]
        }
    ]
}
```
</CodeExample>

## Response Details

On `SUCCESS`, Vault returns the relationship IDs of the deleted relationships.

---

**Previous:** [Delete Single Document Relationship](/commercial/vault-api/api-reference/26.1/documents/document-relationships/delete-single-document-relationship)  
**Next:** [Export Documents](/commercial/vault-api/api-reference/26.1/documents/export-documents)