Cisco AMP for Endpoints API

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

Description

Returns a fine grained isolation status for a computer.

The available flag is set to true if isolation can be performed on the computer.

status will be set to one of:

  • not_isolated
  • pending_start
  • isolated
  • pending_stop

Show Response Fields

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

Examples

Show the isolation status of a computer

Show the isolation status of a computer

Request

Requires Authorization
GET /v1/computers/9cc16b53-6e61-4e9a-b93a-2ec21a3d741f/isolation
Headers
accept: application/json
content-type: application/json
accept-encoding: identity
authorization: Basic FILTERED

cURL Edit, then copy and paste on your terminal

curl -X GET \
-H 'accept: application/json' \
-H 'content-type: application/json' \
-H 'accept-encoding: identity' \
--compressed -H 'Accept-Encoding: gzip, deflate' \
-u YOUR_API_CLIENT_ID \
'https://api.consumer.amp.cisco.com/v1/computers/9cc16b53-6e61-4e9a-b93a-2ec21a3d741f/isolation'

Response

Shortened for readability

content-type: application/json
transfer-encoding: chunked
status: 200 OK
x-ratelimit-limit: 3000
x-ratelimit-reset: 902
strict-transport-security: max-age=31536000; includeSubDomains, max-age=31536000
referrer-policy: strict-origin-when-cross-origin
x-ratelimit-remaining: 2866
x-permitted-cross-domain-policies: none
x-download-options: noopen
etag: W/"72356fd2e9b39a4ebf4a26121ffeb102"
x-frame-options: SAMEORIGIN
x-ratelimit-resetdate: 2022-03-18T11:55:11Z
{
  "version": "v1.2.0",
  "metadata": {
    "links": {
      "self": "https://api.consumer.amp.cisco.com/v1/computers/9cc16b53-6e61-4e9a-b93a-2ec21a3d741f/isolation"
    }
  },
  "data": {
    "available": true,
    "status": "pending_stop",
    "unlock_code": "unlockme",
    "comment": "this is a comment about unlocking",
    "ccms_message_guid": "0e334b24-a9e7-f3db-4197-4eb0057721bf",
    "ccms_job_guid": "1c12f2e2-9300-4891-ba40-ad94fd675418"
  }
}