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
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/6422df21-1d8d-4b36-9498-f5e7b9cdf706
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.apjc.amp.cisco.com/v1/computers/6422df21-1d8d-4b36-9498-f5e7b9cdf706'
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: 1845
x-ratelimit-remaining: 2886
x-frame-options: SAMEORIGIN
x-ratelimit-resetdate: 2019-01-09T17:44:06Z
transfer-encoding: chunked
{
  "version": "v1.2.0",
  "metadata": {
    "links": {
      "self": "https://api.apjc.amp.cisco.com/v1/computers/6422df21-1d8d-4b36-9498-f5e7b9cdf706"
    }
  },
  "data": {
    "connector_guid": "6422df21-1d8d-4b36-9498-f5e7b9cdf706",
    "hostname": "Demo_SFEicar",
    "active": true,
    "links": {
      "computer": "https://api.apjc.amp.cisco.com/v1/computers/6422df21-1d8d-4b36-9498-f5e7b9cdf706",
      "trajectory": "https://api.apjc.amp.cisco.com/v1/computers/6422df21-1d8d-4b36-9498-f5e7b9cdf706/trajectory",
      "group": "https://api.apjc.amp.cisco.com/v1/groups/b077d6bc-bbdf-42f7-8838-a06053fbd98a"
    },
    "connector_version": "4.1.7.10201",
    "operating_system": "Windows 7, SP 1.0",
    "internal_ips": [
      "250.52.42.30"
    ],
    "external_ip": "74.19.208.197",
    "group_guid": "b077d6bc-bbdf-42f7-8838-a06053fbd98a",
    "install_date": "2016-05-20T19:20:00Z",
    "network_addresses": [
      {
        "mac": "34:8e:92:7b:d6:45",
        "ip": "250.52.42.30"
      }
    ],
    "policy": {
      "guid": "89912c9e-8dbd-4c2b-a1d8-dee8a0c2bb29",
      "name": "Audit Policy"
    },
    "faults": [

    ]
  }
}