DELETE /v1/groups/{:group_guid}
Description
Name | Type | Description |
---|---|---|
version | String | |
metadata.links.self | String | |
data.deleted | Boolean | |
data.group_guid | GUID |
Examples
Destroys group with a given guid
Request
Requires AuthorizationDELETE /v1/groups/717e9847-316b-4441-ae3f-1b1950dc67bb
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.apjc.amp.cisco.com/v1/groups/717e9847-316b-4441-ae3f-1b1950dc67bb'
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.apjc.amp.cisco.com/v1/groups/717e9847-316b-4441-ae3f-1b1950dc67bb'
Shortened for readability
content-type: application/json transfer-encoding: chunked status: 200 OK x-ratelimit-limit: 3000 x-ratelimit-reset: 870 strict-transport-security: max-age=31536000; includeSubDomains, max-age=31536000 referrer-policy: strict-origin-when-cross-origin x-ratelimit-remaining: 2785 x-permitted-cross-domain-policies: none x-download-options: noopen etag: W/"66210b665f276e34a985531f1a7bb068" x-frame-options: SAMEORIGIN x-ratelimit-resetdate: 2022-03-18T11:55:11Z
{
"version": "v1.2.0",
"metadata": {
"links": {
"self": "https://api.apjc.amp.cisco.com/v1/groups/717e9847-316b-4441-ae3f-1b1950dc67bb"
}
},
"data": {
"deleted": true,
"group_guid": "717e9847-316b-4441-ae3f-1b1950dc67bb"
}
}