Ploi API
Ploi API

Install WordPress CLI

Installs the WordPress CLI

POST api/servers/{server}/install/wp-cli

Example request:

curl -X POST "https://ploi.io/api/servers/{server}/install/wp-cli" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"

Example response:

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

{
    "status": "ok",
    "message": "WordPress CLI is being installed."
}