post https://{hostname}/api/document/v2/attachments
Use this API to upload a file up to 64MB to the OneTrust Platform. The response will include the Id and FileName parameters, which can be used to attach the file to a product within the platform.
Things to Know
- The extension of the uploaded file must be in one of the supported file formats. For more information, see Using the Document Repository.
- The
attachmentparameter below includes the following information:
Parameters & Descriptionscontains details on the list of parameters and expected parameter values. This should be used for reference only.Attachment JSON Objectcontains the required format in which the parameters and parameter values must be sent in the request.
