Cisco AMP for Endpoints API

PUT /v1/computers/{:connector_guid}/isolation

Description

Request Isolation for a Computer.

If a computer is already isolated a 409 Conflict error status will be sent. Returns the same result of a GET request on the /isolation endpoint.

Show Response Fields

Name Type Description
version String
metadata.links.self String
data.available Boolean
data.status String
data.unlock_code String
data.comment String
data.isolated_by String
Write
Preview

Examples

Isolates a computer

Isolates a computer

Request

Requires Authorization
PUT /v1/computers/8b09bc4e-3cf4-4eb5-95f2-3890701cade7/isolation
Headers
accept: application/json
content-type: application/json
authorization: Basic FILTERED
content-length: 83

cURL Edit, then copy and paste on your terminal

curl -X PUT \
-H 'accept: application/json' \
-H 'content-type: application/json' \
-H 'content-length: 83' \
--compressed -H 'Accept-Encoding: gzip, deflate' \
-d '{"comment":"this is a comment about locking the computer","unlock_code":"unlockme"}' \
-u YOUR_API_CLIENT_ID \
'https://api.eu.amp.cisco.com/v1/computers/8b09bc4e-3cf4-4eb5-95f2-3890701cade7/isolation'
Body
{"comment":"this is a comment about locking the computer","unlock_code":"unlockme"}
      

Response

Shortened for readability

strict-transport-security: max-age=31536000
content-type: application/json; charset=utf-8
status: 200 OK
x-ratelimit-limit: 3000
x-ratelimit-reset: 3315
x-ratelimit-remaining: 2758
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/8b09bc4e-3cf4-4eb5-95f2-3890701cade7/isolation"
    }
  },
  "data": {
    "available": true,
    "status": "pending_start",
    "unlock_code": "unlockme",
    "comment": "this is a comment about locking the computer",
    "isolated_by": "AMP User"
  }
}