Update .env from site

Updates the .env file, this will only work if the file is present

PATCH api/servers/{server}/sites/{id}/env

Parameters

Parameter Type Status Description
content string required Minimum: 2

Example request:

curl -X PATCH "https://ploi.io/api/servers/{server}/sites/{id}/env" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
   --data '{"content": "APP_URL=https://ploi.io...."}'

Example response:

null