# set.system.hostname
Sets the device's hostname. The new configuration takes effect after a system restart.
## Parameters
| param | Object | The container for the hostname setting. |
| param.hostname | String | The new hostname for the device. |
## Examples
### Request
```json
{
"cmd": "set.system.hostname",
"ts": 419304089,
"token": "Y0Ijoro/",
"account": "super",
"param": {
"hostname": "WhatsMiner-Dev"
}
}
```
### Response
```json
{
"code": 0,
"when": 1692685512,
"msg": "ok",
"desc": "set.system.hostname"
}
```