Skip to main content

Replace the asset with new file, without changing its id

deprecated

This endpoint has been deprecated and may be removed in future versions of the API.

This property was deprecated in v1.142.0. Replace the asset with new file, without changing its id. This endpoint requires the asset.replace permission.

Path Parameters
id uuid REQUIRED
Query Parameters
key string
slug string
Request Body REQUIRED
assetData binary REQUIRED
deviceAssetId string REQUIRED
deviceId string REQUIRED
duration string
fileCreatedAt date-time REQUIRED
fileModifiedAt date-time REQUIRED
filename string
Responses
200
Schema OPTIONAL
id string
status string

Possible values: [created, replaced, duplicate]