Client Code Examples

Additional examples for other programming languages are available at https://github.com/plesk/api-examples.

To run a code on Unix, use the following command, for example, for a script in Python:

REMOTE_HOST=your-plesk-host.dom REMOTE_LOGIN=admin REMOTE_PASSWORD=password ./example.py

In this command, the REMOTE_* variables are environment variables.

 

Leave your comments on this page

Leave your feedback or question on this documentation topic below. For technical assistance, contact your hosting service provider or submit a request to Plesk support. Suggest new features for Plesk here. Discuss general questions on the Plesk forum. All offtopic comments will be removed.