Duplicate an asset

Beta

Duplicate an asset using the same duplication service used by the Athena UI. Optionally target a workspace and/or destination folder.

Authentication

X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer

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

Request

This endpoint expects an object.
source_asset_idstringRequired
ID of the asset to duplicate
parent_folder_idstring or nullOptional
Optional destination folder for the duplicated asset
workspace_idstring or nullOptional
Workspace to create the duplicate in. If omitted, the source asset's workspace is used.

Response

Asset duplicated successfully
asset_typestring
Type of the duplicated asset
new_asset_idstring
ID of the newly duplicated asset
source_asset_idstring
ID of the source asset
titlestring
Title of the duplicated asset
parent_folder_idstring or null
ID of the duplicated asset's parent folder
workspace_idstring or null
ID of the workspace that owns the duplicated asset

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error