cURL
curl --request POST \ --url https://app.localhost:3000/api/public/v1/plugins/promote-to-alias \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "deploymentId": "plugin_deployment_abc123", "alias": "checkout" } '
200
success
{ "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.
Enter your API key as: Bearer your-api-key
Bearer your-api-key
^[a-z0-9-]+$
Successful response