Finalize the upload process for a file

Request

Finalizes the upload of a file after all chunks have been uploaded. Requires the metadata returned during the creation of the upload URL that identifies the current upload session. When finalizing the upload process, the action configured during the creation of the upload URL is performed.

Security
OAuth2
Body

The context of the upload returned when creating the upload URL.

upload_identifierstring or null

The identifier of the upload session returned during the request for the upload URL.

storage_identifierstring or null

The identifier of the upload storage returned during the request for the upload URL.

file_identifierstring or null

The file identifier returned during the request for the upload URL.

curl -i -X POST \
  https://your-server/api/v2.0/upload/finalize \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json-patch+json' \
  -d '{
    "upload_identifier": "string",
    "storage_identifier": "string",
    "file_identifier": "string"
  }'

Responses

Upload finalized successfully

Response
No content