Cisco AMP for Endpoints API

PATCH /v1/computers/{:connector_guid}

Description

Show Response Fields

Name Type Description
version String
metadata.links.self String
data.connector_guid GUID
data.hostname String
data.active Boolean
data.links.computer String
data.links.trajectory String
data.links.group String
data.connector_version String
data.operating_system String
data.internal_ips Array
data.internal_ips[] String
data.external_ip String
data.group_guid GUID
data.install_date String (Time ISO8601)
data.network_addresses Array
data.network_addresses[].mac String
data.network_addresses[].ip String
data.policy.guid GUID
data.policy.name String
Write
Preview

Examples

Moves computer to a group with given connector_guid and group_guid

Moves computer to a group with given connector_guid and group_guid

Request

Requires Authorization
PATCH /v1/computers/e714d352-f682-47ba-baa7-a1d574bc8fe4
Headers
accept: application/json
content-type: application/json
authorization: Basic FILTERED
content-length: 53

cURL Edit, then copy and paste on your terminal

curl -X PATCH \
-H 'accept: application/json' \
-H 'content-type: application/json' \
-H 'content-length: 53' \
--compressed -H 'Accept-Encoding: gzip, deflate' \
-d '{"group_guid":"68665863-74d5-4bc1-ac7f-5477b2b6406e"}' \
-u YOUR_API_CLIENT_ID \
'https://api.apjc.amp.cisco.com/v1/computers/e714d352-f682-47ba-baa7-a1d574bc8fe4'
Body
{"group_guid":"68665863-74d5-4bc1-ac7f-5477b2b6406e"}
      

Response

Shortened for readability

strict-transport-security: max-age=31536000
content-type: application/json; charset=utf-8
status: 202 Accepted
x-ratelimit-limit: 3000
x-ratelimit-reset: 2194
x-ratelimit-remaining: 2650
x-frame-options: SAMEORIGIN
x-ratelimit-resetdate: 2018-10-03T17:33:35Z
transfer-encoding: chunked
{
  "version": "v1.2.0",
  "metadata": {
    "links": {
      "self": "https://api.apjc.amp.cisco.com/v1/computers/e714d352-f682-47ba-baa7-a1d574bc8fe4"
    }
  },
  "data": {
    "connector_guid": "e714d352-f682-47ba-baa7-a1d574bc8fe4",
    "hostname": "Demo_AMP_Threat_Audit",
    "active": true,
    "links": {
      "computer": "https://api.apjc.amp.cisco.com/v1/computers/e714d352-f682-47ba-baa7-a1d574bc8fe4",
      "trajectory": "https://api.apjc.amp.cisco.com/v1/computers/e714d352-f682-47ba-baa7-a1d574bc8fe4/trajectory",
      "group": "https://api.apjc.amp.cisco.com/v1/groups/68665863-74d5-4bc1-ac7f-5477b2b6406e"
    },
    "connector_version": "6.2.1.10782(AVC)",
    "operating_system": "Windows 7, SP 1.0",
    "internal_ips": [
      "77.189.252.203"
    ],
    "external_ip": "225.73.247.232",
    "group_guid": "68665863-74d5-4bc1-ac7f-5477b2b6406e",
    "install_date": "2018-09-18T18:56:52Z",
    "network_addresses": [
      {
        "mac": "3d:21:d6:d4:33:17",
        "ip": "77.189.252.203"
      }
    ],
    "policy": {
      "guid": "75f5a2b7-2875-41c1-9a11-0b212f347a08",
      "name": "Triage Policy"
    }
  }
}