OPTIONS /v1/computers/{:connector_guid}/isolation
Description
Performs a feature availability request on a computer. Can also be used as a course-grained isolation status request.
Computers that are not isolated but can be will return a "PUT" in the Allow header.
Computers that are isolated will return a "DELETE" in the Allow header.
Examples
Report isolation feature availability
Request
Requires AuthorizationOPTIONS /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 OPTIONS \
-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.eu.amp.cisco.com/v1/computers/9cc16b53-6e61-4e9a-b93a-2ec21a3d741f/isolation'
Response
status: 204 No Content
x-ratelimit-limit: 3000
x-ratelimit-reset: 903
strict-transport-security: max-age=31536000; includeSubDomains, max-age=31536000
referrer-policy: strict-origin-when-cross-origin
x-ratelimit-remaining: 2867
x-permitted-cross-domain-policies: none
x-download-options: noopen
x-frame-options: SAMEORIGIN
allow: OPTIONS, GET, PUT
x-ratelimit-resetdate: 2022-03-18T11:55:11Z
transfer-encoding: chunked
cURL Edit, then copy and paste on your terminal
curl -X OPTIONS \ -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.eu.amp.cisco.com/v1/computers/9cc16b53-6e61-4e9a-b93a-2ec21a3d741f/isolation'