Deploy staging site to production

Deploy your staging site to production.


POST/api/servers/{server}/sites/{id}/deploy-to-production

Deploy to production

This endpoint starts the process to deploy a staging site to production.

Request

POST
/api/servers/{server}/sites/{id}/deploy-to-production
curl -X POST "https://ploi.io/api/servers/{server}/sites/{id}/deploy-to-production" \
  -H "Authorization: Bearer {token}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json"

Response

{
  "message": "Deployment to production has been started"
}