Assign a custom name to your web hosting account for easier identification if you have multiple accounts. The endpoint returns an 'accountId' which may be needed for subsequent API calls.
accountId integer · min: 1 required Example Unique account identifier
Accept Example Content-Type Example customName any required success boolean timestamp string requestId string data object https://cloud.hostup.se/api/hosting-accounts/{accountId}/name curl -X PUT "https://cloud.hostup.se/api/hosting-accounts/14676/name" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"customName": null
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"accountId": "string",
"customName": "string",
"message": "string"
}
} {
"customName": null
}