Question:
How to delete documents with a document external id using Vault API?
Answer:
The user who has delete permission of the documents can follow the steps below:
- Obtain the SessionId of the target Vault using the API.
- Set the Header info as shown below. The value of the Authorization item is the SessionID that is obtained in Step 1.
- The Delete API URL is shown below.
https://myvault.veevavault.com/api/v19.1/objects/documents/batch?idParam=external_id__v
- Choose the CSV file in the Body section as shown in the screenshot.
- Click the Send button and confirm the result.
Note: Change the API version according to the Veeva latest API online help.
Related Documentation:
Vault API Documentation: