v1
latestOpenAPI 3.1.02026-07-24251250397.8 KBtransformations
Unpublish a transformation asset
Unpublishes an asset, making it unavailable for delivery
This operation:
- Sets published_version_id to null
- Sets status to disabled
- Creates a new asset version snapshot with the disabled status
put/v2/sites/{site_id}/transformation_assets/{asset_id}/unpublish/
Path parameters
site_idstring required
Unique identifier for a resource
Example:Ny05CEfj
Unique alphanumeric ID of the site
asset_idstring required
Unique identifier for a resource
Example:Ny05CEfj
Unique alphanumeric ID of the transformation asset
Response
Asset successfully unpublished
Example response
{
"id": "Ny05CEfj",
"site_id": "Ny05CEfj",
"published_version_id": "Ny05CEfj",
"produced_by_transformation_run_id": "Ny05CEfj",
"relationships": {
"project": {
"id": "Ny05CEfj"
}
}
}