Updates a device (server object).

Send a JSON object in the request body to update device details.

Request
Security:
path Parameters
id
required
integer

Server ID for the specified device.

query Parameters
o
required
integer

Organization ID for the specified device.

Request Body schema: application/json

Device update

server_group_id
required
integer

Server Group ID for the specified group.

ip_addrs
string

Server IP address.

exception
required
boolean

Use the exception property to exclude the device from reports and statistics.

tags
Array of strings

List of tags.

custom_name
string

Custom name that will display in the console instead of the hostname.

Responses
204

Update Successful

401

Access token is missing or invalid

403

You do not have permission to perform this action.

put/servers/{id}
Request samples
application/json
{
  • "server_group_id": 0,
  • "ip_addrs": "string",
  • "exception": true,
  • "tags": [
    • "string"
    ],
  • "custom_name": "string"
}
Response samples
application/json
{
  • "errors": [
    • "Unauthorized"
    ]
}