This action changes the user password of the selected hosting service through the API.
Method / Endpoint
POST {{API_URL}}/order/transaction
For Hostrox, the full URL is:
POST https://client.hostrox.net/api/reseller/order/transaction
Request parameters
| Name | Required | Description |
|---|
key | Yes | API Key |
id | Yes | Order ID number |
action | Yes | The transaction to perform: change-password |
password | Yes | New password |
Example cURL request
curl --location 'https://client.hostrox.net/api/reseller/order/transaction' \
--header 'Content-Type: application/json' \
--data '{
"key": "UzZBSlBWeWk0UEcrVWxlU0RjS1B1dz09",
"id": 3,
"action": "change-password",
"password": "lv34EGMrGY32VbvMC"
}'
Example JSON response
{
"status": "successful"
}
Always call this endpoint over HTTPS to keep the password confidential in transit.