curl --request POST \
--url https://app.tagadapay.com/api/public/v1/plugins/promote-to-alias \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"deploymentId": "plugin_deployment_abc123",
"alias": "checkout"
}
'{
"success": true,
"url": "http://checkout.store_123.cdn.localhost:3000/",
"message": "Deployment promoted successfully to alias \"checkout\"",
"alias": "checkout"
}Promote an existing plugin deployment to a new alias. This reassigns the alias without creating a new deployment.
curl --request POST \
--url https://app.tagadapay.com/api/public/v1/plugins/promote-to-alias \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"deploymentId": "plugin_deployment_abc123",
"alias": "checkout"
}
'{
"success": true,
"url": "http://checkout.store_123.cdn.localhost:3000/",
"message": "Deployment promoted successfully to alias \"checkout\"",
"alias": "checkout"
}