Ploi API
Ploi API

Get .env from site

Get the .env file from a website, this will only work if the file is present

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

Example request:

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

Example response:

null