Skip to main content
POST
/
api
/
public
/
v1
/
plugins
/
promote-to-alias
Promote plugin deployment to alias
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"
}

Authorizations

Authorization
string
header
required

Enter your API key as: Bearer your-api-key

Body

application/json
deploymentId
string
required
alias
string
required

Response

Successful response

The response is of type any.