k8s.php¶
Kubernetes management module for cluster operations and token generation
API Methods¶
| Method | Action | Description |
|---|---|---|
get_new_token | get new token | Generates a new authentication token based on the user's email and billing location. |
k8s/get_new_token¶
Generates a new authentication token based on the user's email and billing location.
HTTP method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: get_new_token |
| ✅ | string | User email address used for token generation. | |
| whmcs_location | ✅ | string | The billing location of the client. |
| token | ✅ | string | Authorization token. |
Request example