Add a new file version

Uploads a new binary version for an existing Library file identified by libraryContentId in the specified teamsite.

Use multipart/form-data with a required content part that contains the file bytes for the new version. The file identity (id) stays the same while version metadata such as version and versionId are updated in the response.

This endpoint is intended for version replacement workflows when the file record already exists. To create a brand-new file record, use the add-file endpoint.

📘

Upload Limits

Max file size is limited to 2GB

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Identifier of the teamsite context for the request. Depending on API behavior, it may be a GUID-formatted value or a documented special value such as 1.

uuid
required

Identifier of the library content item targeted by the operation. For file-specific endpoints, this must identify file content and not other content types.

Body Params

Multipart upload payload containing the binary file content for the new version.

file
required

Binary payload of the file to upload as the next version.

Headers
string
enum
Defaults to application/json; charset=utf-8

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json; charset=utf-8
application/json