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

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;server&quot;:{&quot;host&quot;:&quot;nulla reprehenderit veniam&quot;,&quot;account_id&quot;:76540804,&quot;health_status&quot;:&quot;irure ullamco sint&quot;,&quot;id&quot;:-49069473,&quot;last_reported_at&quot;:&quot;1986-05-04T17:42:36.264Z&quot;,&quot;links&quot;:{&quot;alert_policy&quot;:19428721},&quot;name&quot;:&quot;deserunt aliqua&quot;,&quot;reporting&quot;:true,&quot;summary&quot;:{&quot;cpu&quot;:1609418.8160360903,&quot;cpu_stolen&quot;:567816.1967925876,&quot;disk_io&quot;:12074931.858166143,&quot;fullest_disk&quot;:90457517.85521886,&quot;fullest_disk_free&quot;:33945233,&quot;memory&quot;:-42641098.40858508,&quot;memory_total&quot;:61998001,&quot;memory_used&quot;:-23214060}}}