DELETE /v1/computers/{:connector_guid}/isolation
Description
Request isolation stop for a Computer.
If a computer is not isolated a 409 Conflict
error status will be sent. Returns the same result of a GET request on the /isolation
endpoint
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 |
Examples
Stop isolation on a computer
Request
Requires AuthorizationDELETE /v1/computers/9cc16b53-6e61-4e9a-b93a-2ec21a3d741f/isolation
Headers
accept: application/json
content-type: application/json
accept-encoding: identity
authorization: Basic FILTERED
content-length: 47
cURL Edit, then copy and paste on your terminal
curl -X DELETE \
-H 'accept: application/json' \
-H 'content-type: application/json' \
-H 'accept-encoding: identity' \
-H 'content-length: 47' \
--compressed -H 'Accept-Encoding: gzip, deflate' \
-d '{"comment":"this is a comment about unlocking"}' \
-u YOUR_API_CLIENT_ID \
'https://api.eu.amp.cisco.com/v1/computers/9cc16b53-6e61-4e9a-b93a-2ec21a3d741f/isolation'
Body
{"comment":"this is a comment about unlocking"}
Response
cURL Edit, then copy and paste on your terminal
curl -X DELETE \ -H 'accept: application/json' \ -H 'content-type: application/json' \ -H 'accept-encoding: identity' \ -H 'content-length: 47' \ --compressed -H 'Accept-Encoding: gzip, deflate' \ -d '{"comment":"this is a comment about unlocking"}' \ -u YOUR_API_CLIENT_ID \ 'https://api.eu.amp.cisco.com/v1/computers/9cc16b53-6e61-4e9a-b93a-2ec21a3d741f/isolation'
Shortened for readability
content-type: application/json transfer-encoding: chunked status: 200 OK x-ratelimit-limit: 3000 x-ratelimit-reset: 901 strict-transport-security: max-age=31536000; includeSubDomains, max-age=31536000 referrer-policy: strict-origin-when-cross-origin x-ratelimit-remaining: 2864 x-permitted-cross-domain-policies: none x-download-options: noopen etag: W/"02078c95a09832c147f533cc9036e7c1" x-frame-options: SAMEORIGIN x-ratelimit-resetdate: 2022-03-18T11:55:11Z
{
"version": "v1.2.0",
"metadata": {
"links": {
"self": "https://api.eu.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"
}
}