Change the hostname of the VPS.
Request
Add parameter in header API-key
Example:API-key: ********************
or
Body Params application/jsonRequired
Request Code Samples
curl --location --request PUT 'https://mijn.host/api/v2/vps/12345/hostname' \
--header 'Accept: application/json' \
--header 'User-Agent: my-application/1.0.0' \
--header 'API-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"hostname": "string"
}'
Responses
application/json
{
"status": "string",
"status_description": "string",
"data": {
"hostname": "string",
"onboot": true
}
}
Modified at 2026-08-05 19:06:07