POST /assets/{asset_id}/versions
1 min
POST
https://api.cmp.optimizely.com/v3/assets/{asset_id}/versions
asset_idstringUnique identifier of the asset
acceptstringGenerated from available response content types
bodyobjectPayload to add a version to a library asset
201Created version
400Client error
401Authorization error
403Permission error
404Not found error
422Unprocessable entity error
curl --request POST \
--url https://api.cmp.optimizely.com/v3/assets/{asset_id}/versions \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"key": "",
"title": "sample_image.png"
}'