Hi,
I'm using `https://api.ovh.com/` to interact with OVH API for bare metal machines. Currently I would like to list servers and that works via `ck.add_recursive_rules(ovh.API_READ_ONLY, "/dedicated/server")` [Python]. However I cannot find a way to get our custom names of the servers. API lists for example:
```
=====> ns.ip---.eu () <=====
{
"bootId": 1,
"commercialRange": "ADVANCE-2",
"datacenter": "rbx7",
"ip": "...",
"linkSpeed": 1000,
"monitoring": true,
"name": "ns.ip---.eu",
"newUpgradeSystem": true,
"noIntervention": false,
"os": "ubuntu1804-server_64",
"professionalUse": false,
"rack": "",
"rescueMail": null,
"reverse": "ns.ip---.eu",
"rootDevice": null,
"serverId": ,
"state": "ok",
"supportLevel": "pro"
}
```
Above there is only OVH name, but above server in OVH web UI has our own custom name `andromeda123456.example.com`
Is there any way to get both, internal OVH name (`ns.ip---.eu`) and our own custom name?
Also, be able to update / rename it via API would be great too.
Regards.
Fetching and setting custom server name via API
Related questions
- Blacklisted IP ranges by UCEPROTECTL3
9125
23.02.2021 09:08
- Hot to delete my account?
8674
29.07.2018 19:49
- Purchased a dedicated server - Awaiting Validation on a Saturday
5459
19.05.2018 20:07
- .iso install on IPMI very slow
4764
22.05.2018 11:14
- Can't cancel/return server
4350
25.06.2018 08:31
- Proxmox + opnsense
4153
19.07.2018 15:53
- Setting up proxmox network?
3966
03.05.2018 10:15
- Help with FiveM (GTA Online) DDoS protection
3884
02.01.2021 22:53
- pfSense, IPv6, virtualized on dedicated server
3390
09.02.2018 18:06
- It is written that server Delivered in in 120s - I wait more than 12 hours and still do
3332
10.03.2018 08:44