Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-account-id
string<uuid>
required
x-workspace-id
string<uuid>
required

Body

application/json
asset_id
string

The ID of the asset.

commit_id
string

The ID of the commit.

upload_key
string

The temporary upload key.

description
string

Description of the version.

name
string

Name of the version.

set_current
boolean

Whether to set this version as current.

commit_parent_id
string

The parent commit ID.

checksum
string

The checksum of the file.

Response

200 - application/json

Successfully created version

version_id
string

The ID of the created version.