Deleting an AWS Key Template
Use the delete /v1/cckm/aws/key-templates/{id} API to delete an AWS key template.
Here, {id} is the resource ID of the key template on the CipherTrust Manager.
Syntax
curl -k '<IP>/api/v1/cckm/aws/key-templates/{id}' -X DELETE -H 'Authorization: Bearer AUTHTOKEN' -H 'accept: application/json' --compressed
Request Parameters
| Parameter | Type | Description |
|---|---|---|
| AUTHTOKEN | string | Authorization token. |
Example Request
curl -k 'https://127.0.0.1/api/v1/cckm/aws/key-templates/olik9' -X DELETE -H 'Authorization: Bearer {Place jwt token here. Bearer token / JWT can be created via the /v1/auth/tokens API.}' -H 'accept: application/json' --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.