Ploi API
Ploi API

Update deploy script

Update deploy script from a site

PATCH api/servers/{server}/sites/{id}/deploy/script

Example request:

curl -X PATCH "https://ploi.io/api/servers/{server}/sites/{id}/deploy/script" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
   --data '{"deploy_script": "cd /home/ploi/domain1.com......"}'