A newer release of this product is available.
Delete an NTP key
Deletes an NTP key to remove outdated or unnecessary keys from the time service configuration.
HTTP method and endpoint
DELETE /cluster/ntp/keys/{id}
Introduced in
ONTAP 9.7
Related ONTAP commands
-
cluster time-service ntp key delete
Learn more
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
id |
integer |
path |
True |
Key identifier |
Response
Status: 200, Ok
Error
Status: Default
ONTAP Error Response Codes
| Error Code | Description |
|---|---|
2097186 |
The key cannot be deleted because it is being used by an NTP server. |
| 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. |