原英文版地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/slm-api-delete-policy.html, 原文档版权归 www.elastic.co 所有
本地英文版地址: ../en/slm-api-delete-policy.html
本地英文版地址: ../en/slm-api-delete-policy.html
重要: 此版本不会发布额外的bug修复或文档更新。最新信息请参考 当前版本文档。
Delete snapshot lifecycle policy APIedit
Deletes an existing snapshot lifecycle policy.
Requestedit
DELETE /_slm/policy/<snapshot-lifecycle-policy-id>
Prerequisitesedit
If the Elasticsearch security features are enabled, you must have the manage_slm
cluster privilege to use this API. For more information, see
Security privileges.
Descriptionedit
Deletes the specified lifecycle policy definition. This prevents any future snapshots from being taken but does not cancel in-progress snapshots or remove previously-taken snapshots.
Path parametersedit
-
<policy-id>
- (Required, string) ID of the snapshot lifecycle policy to delete.
Examplesedit
DELETE /_slm/policy/daily-snapshots