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
data.faults Array
data.isolation.available Boolean
data.isolation.status 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/552c40f8-afc1-4eae-85cf-b70c9644a3fe
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":"b077d6bc-bbdf-42f7-8838-a06053fbd98a"}' \
-u YOUR_API_CLIENT_ID \
'https://api.eu.amp.cisco.com/v1/computers/552c40f8-afc1-4eae-85cf-b70c9644a3fe'
Body
{"group_guid":"b077d6bc-bbdf-42f7-8838-a06053fbd98a"}
      

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: 3293
x-ratelimit-remaining: 2706
x-frame-options: SAMEORIGIN
x-ratelimit-resetdate: 2019-08-02T18:40:25Z
transfer-encoding: chunked
{
  "version": "v1.2.0",
  "metadata": {
    "links": {
      "self": "https://api.eu.amp.cisco.com/v1/computers/552c40f8-afc1-4eae-85cf-b70c9644a3fe"
    }
  },
  "data": {
    "connector_guid": "552c40f8-afc1-4eae-85cf-b70c9644a3fe",
    "hostname": "Demo_Qakbot_1",
    "active": true,
    "links": {
      "computer": "https://api.eu.amp.cisco.com/v1/computers/552c40f8-afc1-4eae-85cf-b70c9644a3fe",
      "trajectory": "https://api.eu.amp.cisco.com/v1/computers/552c40f8-afc1-4eae-85cf-b70c9644a3fe/trajectory",
      "group": "https://api.eu.amp.cisco.com/v1/groups/b077d6bc-bbdf-42f7-8838-a06053fbd98a"
    },
    "connector_version": "6.3.1.10893",
    "operating_system": "Windows 7, SP 1.0",
    "internal_ips": [
      "104.21.179.27"
    ],
    "external_ip": "152.58.0.128",
    "group_guid": "b077d6bc-bbdf-42f7-8838-a06053fbd98a",
    "install_date": "2019-07-31T21:36:52Z",
    "network_addresses": [
      {
        "mac": "07:c5:09:18:62:af",
        "ip": "104.21.179.27"
      }
    ],
    "policy": {
      "guid": "89912c9e-8dbd-4c2b-a1d8-dee8a0c2bb29",
      "name": "Audit Policy"
    },
    "faults": [

    ],
    "isolation": {
      "available": false,
      "status": "not_isolated"
    }
  }
}