Install WordPress CLI

Installs the WordPress CLI on your server.


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

Install WordPress CLI

This endpoint allows you to install the WordPress CLI tool on your server.

Required scopes

Manage servers

Request

POST
/api/servers/{server}/install/wp-cli
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"

Response

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