Skip to content

Restore Object Record Attachment Version

POST/api/{version}/vobjects/{object_name}/{object_record_id}/attachments/{attachment_id}/versions/{attachment_version}?restore=true
NameDescription
Acceptapplication/json (default) or application/xml
curl -X POST -H "Authorization: {SESSION_ID}" \
https://myvault.veevavault.com/api/v24.1/vobjects/site__v/1357752909483/attachments/571/versions/2?restore=true
{
    "responseStatus": "SUCCESS",
    "data":
    {
        "id": "571",
        "version__v": 2
    }
}