Deleting a Key from DSM
Use the post /v1/cckm/dsm/keys/{id}/delete
API to delete a key from DSM using the CCKM API. The API also returns the details of the deleted DSM key.
Syntax
Here, {id}
represents the ID of the key.
Request Parameter
Parameter | Type | Description |
---|---|---|
AUTHTOKEN | string | Authorization token. |
Example Request
Example Response
The output shows the details of the deleted DSM key with ID d3296d8a-22bf-4b9c-8ff7-a41104b4631e
.
Response Codes
Response Code | Description |
---|---|
2xx | Success |
4xx | Client errors |
5xx | Server errors |
Refer to HTTP status codes for details.