Update
PUT {{baseUrl}}/servers/{{id}}.json
This API endpoint allows you to rename your server.
The input is expected to be in JSON or XML format in the body parameter of the PUT request. The exact schema is defined below. Any extra parameters passed in the body will be ignored.
Request Body
{"server"=>{"name"=>"<string>"}}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"server":{"host":"nulla reprehenderit veniam","account_id":76540804,"health_status":"irure ullamco sint","id":-49069473,"last_reported_at":"1986-05-04T17:42:36.264Z","links":{"alert_policy":19428721},"name":"deserunt aliqua","reporting":true,"summary":{"cpu":1609418.8160360903,"cpu_stolen":567816.1967925876,"disk_io":12074931.858166143,"fullest_disk":90457517.85521886,"fullest_disk_free":33945233,"memory":-42641098.40858508,"memory_total":61998001,"memory_used":-23214060}}}