Delete a primary key server
DELETE /security/key-managers/{uuid}/key-servers/{server}
Introduced In: 9.6
Deletes a key server.
Related ONTAP commands
- 
security key-manager external remove-servers 
Parameters
| Name | Type | In | Required | Description | 
|---|---|---|---|---|
uuid  | 
string  | 
path  | 
True  | 
External key manager UUID  | 
server  | 
string  | 
path  | 
True  | 
Key server configured in the external key manager.  | 
Response
Status: 200, Ok
Error
Status: Default
ONTAP Error Response Codes
| Error Code | Description | 
|---|---|
65536700  | 
The key server contains keys that are currently in use and not available from any other configured key server in the SVM.  | 
65536822  | 
Multitenant key management is not supported in the current cluster version.  | 
65536824  | 
Multitenant key management is not supported in MetroCluster configurations.  | 
65536828  | 
External key management is not enabled for the SVM.  | 
65536843  | 
The key management server is not configured for the SVM.  | 
| Name | Type | Description | 
|---|---|---|
error  | 
Example error
{
  "error": {
    "arguments": [
      {
        "code": "string",
        "message": "string"
      }
    ],
    "code": "4",
    "message": "entry doesn't exist",
    "target": "uuid"
  }
}
Definitions
See Definitions
error_arguments
| Name | Type | Description | 
|---|---|---|
code  | 
string  | 
Argument code  | 
message  | 
string  | 
Message argument  | 
error
| Name | Type | Description | 
|---|---|---|
arguments  | 
array[error_arguments]  | 
Message arguments  | 
code  | 
string  | 
Error code  | 
message  | 
string  | 
Error message  | 
target  | 
string  | 
The target parameter that caused the error.  |