Ploi API
Ploi API

Deploy site

Deploys a site, remember that a deploy will not be done if there is no repository installed.

POST api/servers/{server}/sites/{id}/deploy


Parameter Type Status Description
scheduled datetime optional datetime A date in the following format: 2023-01-01 10:00 in your own timezone to schedule a deplyoyment in the future

Example request:

curl -X POST "{server}/sites/{id}/deploy" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"