Change your web hosting account name

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.

Path Parameters

accountId integer · min: 1 required Example

Unique account identifier

Headers

Accept Example
Content-Type Example

Body

required
application/json
customName any required

Responses

200
success boolean
timestamp string
requestId string
data object
PUT https://cloud.hostup.se/api/hosting-accounts/{accountId}/name
For AI assistants
cURL
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
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "accountId": "string",
    "customName": "string",
    "message": "string"
  }
}
Request Body
{
  "customName": null
}