Delete a primary key server
Deletes a primary key server to remove its configuration from the system. This operation is typically performed when the server is no longer needed or is being replaced.
HTTP method and endpoint
DELETE /security/key-managers/{uuid}/key-servers/{server}
Introduced in
ONTAP 9.6
Optional parameters:
-
force- Bypass Out of Quorum checks wehn deleting a primary key server. This flag is set to "false" by default.
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 |
Primary key server configured in the external key manager. |
force |
boolean |
query |
False |
Set the force flag to "true" to bypass out of quorum checks when removing a primary key server.
|
Response
Status: 200, Ok
Error
Status: Default
ONTAP Error Response Codes
| Error Code | Description |
|---|---|
65536600 |
Cannot remove a key server while a node is out quorum. |
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. |