- Authentication
Authentication
Secure Access to Cloudways API
Cloudways API requires authentication to access the resources. The authentication process is simple and secure. You can authenticate using your email and API key. The API key is a unique identifier that is used to authenticate your requests. You can generate the API key from the Cloudways Platform.
Initializing the API
Before performing any operations, initialize the API with your Cloudways account credentials:
Parameters
- email (string): Your Cloudways account email address. *
- apiKey (string): Your Cloudways API key. *
Example
import { initializeCloudwaysApi } from 'cloudways-js-client';
const email = 'your_email@example.com'; // Replace with your Cloudways account email
const apiKey = 'your_api_key'; // Replace with your Cloudways API key
initializeCloudwaysApi(email, apiKey);
On this page