Ploi API
Ploi API

Installed PHP versions

This will return the installed PHP versions on your server

GET api/servers/{server}/php/versions

Example request:

curl -X get "https://ploi.io/api/servers/{server}/php/versions" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"

Example response:

HTTP/1.1 200 OK
Content-Type: application/json

{
    "data": {
        "versions": [
            "7.4"
        ]
    }
}