Knowledge Base
Replace document resource file
Replace the underlying file on a document (FILE-type) resource with a new multipart upload. Other resource fields (title, description, visibility, tags, owner, etc.) are unchanged — use PATCH for those. Returns 404 for an unknown id or a URL-type resource.
Example: send multipart/form-data with a single file field (the new document binary).
post/knowledge-base/resources/documents/{id}/upload
Request
- Base URLhttps://api.vanta.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Request body multipart/form-data
Response
Ok
Changes
No recorded changes to this operation across all 1 revision of this API.