DELETE /v1/computers/{:connector_guid}
Description
Name | Type | Description |
---|---|---|
version | String | |
metadata.links.self | String | |
data.deleted | Boolean | |
data.connector_guid | GUID |
Examples
Deletes a specific computer with given connector_guid
Request
Requires AuthorizationDELETE /v1/computers/bad2c522-3052-4d75-93a0-832d6283c299
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 DELETE \
-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/bad2c522-3052-4d75-93a0-832d6283c299'
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' \ --compressed -H 'Accept-Encoding: gzip, deflate' \ -u YOUR_API_CLIENT_ID \ 'https://api.eu.amp.cisco.com/v1/computers/bad2c522-3052-4d75-93a0-832d6283c299'
Shortened for readability
content-type: application/json transfer-encoding: chunked status: 200 OK x-ratelimit-limit: 3000 x-ratelimit-reset: 892 strict-transport-security: max-age=31536000; includeSubDomains, max-age=31536000 referrer-policy: strict-origin-when-cross-origin x-ratelimit-remaining: 2838 x-permitted-cross-domain-policies: none x-download-options: noopen etag: W/"2b46a0979653933aff98f7f0a89ebdde" 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/bad2c522-3052-4d75-93a0-832d6283c299"
}
},
"data": {
"deleted": true,
"connector_guid": "bad2c522-3052-4d75-93a0-832d6283c299"
}
}