Duplicate an asset
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_id
ID of the asset to duplicate
parent_folder_id
Optional destination folder for the duplicated asset
workspace_id
Workspace to create the duplicate in. If omitted, the source asset's workspace is used.
Response
Asset duplicated successfully
asset_type
Type of the duplicated asset
new_asset_id
ID of the newly duplicated asset
source_asset_id
ID of the source asset
title
Title of the duplicated asset
parent_folder_id
ID of the duplicated asset's parent folder
workspace_id
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
