Deleting a SAP Group
Use the delete /v1/cckm/sap/groups/{id}
API to delete a SAP group from the CCKM.
Syntax
curl -k '<IP>/api/v1/cckm/sap/groups/{id}' -X DELETE -H 'Authorization: Bearer AUTHTOKEN' --compressed
Here, {id}
is the resource ID of the SAP group.
Request Parameters
Parameter | Type | Description |
---|---|---|
AUTHTOKEN | string | Authentication token. |
Example Request
curl -k 'https://127.0.0.1/api/v1/cckm/sap/groups/eb96c5e5-2e9b-4580-947d-7428191e7fc0' -X DELETE -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJjZmU5MGJkZC01MWQwLTQ3NDctODNkMi1kODA5ZmNmOGQ4M2IiLCJzdWIiOiJsb2NhbHxiNDhkNDliNC00NjMyLTQ4YmUtOTdiZC04N2MwODg1YjU3YjUiLCJpc3MiOiJreWxvIiwiYWNjIjoia3lsbyIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiY3VzdCI6eyJkb21haW5faWQiOiIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJncm91cHMiOlsiYWRtaW4iXSwic2lkIjoiMDk4MzZmMjQtNzdmMS00YzUxLTgxYzktNTczNWZkYmE3OTMzIiwiem9uZV9pZCI6IjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCJ9LCJqd3RpZCI6ImY1MDZkMmU4LWFjNjMtNDE0Yi1hNzUxLTFiODAyZjJiYTQ4NSIsImlhdCI6MTYzNDcwOTUxMywiZXhwIjoxNjM0NzA5ODEzfQ.FrDF64vD0Q1S_k0AM3hfJ6W3QGyOj2gF4JRF4CZJ5ZA' --compressed
Example Response
{
"status": 204
}
Response Codes
Response Code | Description |
---|---|
2xx | Success |
4xx | Client errors |
5xx | Server errors |
Refer to HTTP status codes for details.