v50

latestOpenAPI 3.0.0Commercialraw.githubusercontent.com2022-08-0911645127.8 KB
Organization

Update the site associated with agent

patch/org/agents/{agent_id}

Path parameters

agent_idstring uuid required

UUID of the agent to update

Request body

site_idstring uuid required

Example request

{
  "site_id": "e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8"
}

Response

agent details

idstring uuid required
client_idstring uuid
organization_idstring uuid
created_atinteger
updated_atinteger
host_idstring
hub_idstring uuid
namestring hostname
site_idstring uuid
last_checkininteger
osstring
archstring
versionstring
external_ipstring
internal_ipstring
system_infoobject
connectedboolean
inactiveboolean
deactivated_atinteger

Example response

{
  "id": "e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8",
  "client_id": "e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8",
  "organization_id": "e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8",
  "created_at": 1576300370,
  "updated_at": 1576300370,
  "host_id": "6f9e6fe52271da70962e007183c5c9c9",
  "hub_id": "e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8",
  "name": "RUMBLE-AGENT",
  "site_id": "e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8",
  "last_checkin": 1576300370,
  "os": "Windows",
  "arch": "amd64",
  "version": "1.2.3 (build 20191219224016) [fc50c5eefdc3ff5c60533c3c345d14d336396272]",
  "external_ip": "1.1.1.1",
  "internal_ip": "192.168.0.1",
  "connected": true
}