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
Headers
X-Athena-Session-Credential
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. The copy is created inside the folder and inherits its sharing. The caller needs edit access to the folder, which must be in the destination workspace.
workspace_id
Workspace to create the duplicate in. If omitted, the parent folder’s workspace is used when parent_folder_id is provided; otherwise the source asset’s workspace is used. The caller must be a member of the destination workspace.
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
