Skip to main content
POST
/
files
/
completemultipartupload
Complete multipart upload
curl --request POST \
  --url https://{cluster}.cognitedata.com/api/v1/projects/{project}/files/completemultipartupload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "uploadId": "<string>",
  "id": 4503599627370496
}
'
{}

Authorizations

Authorization
string
header
required

Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.

Body

application/json

The JSON request body which specifies which file id/externalId and uploadId to complete the multipart upload for.

uploadId
string
required

A server-generated identifier returned by 'files/initmultipartupload', used by 'files/completemultipartupload' for validation purposes.

id
integer<int64>

A server-generated ID for the object.

Required range: 1 <= x <= 9007199254740991

Response

Empty response.

The response is of type object.

Last modified on April 23, 2026