-
Notifications
You must be signed in to change notification settings - Fork 24.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add HLRC docs for Delete Lifecycle Policy (#35664)
Adds documenatation for the Delete Lifecycle Policy API to the HLRC documentation.
- Loading branch information
Showing
3 changed files
with
112 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
docs/java-rest/high-level/ilm/delete_lifecycle_policy.asciidoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
-- | ||
:api: ilm-delete-lifecycle-policy | ||
:request: DeleteLifecyclePolicyRequest | ||
:response: AcknowledgedResponse | ||
-- | ||
|
||
[id="{upid}-{api}"] | ||
=== Delete Lifecycle Policy API | ||
|
||
|
||
[id="{upid}-{api}-request"] | ||
==== Request | ||
|
||
The Delete Lifecycle Policy API allows you to delete an Index Lifecycle | ||
Management Policy from the cluster. | ||
|
||
["source","java",subs="attributes,callouts,macros"] | ||
-------------------------------------------------- | ||
include-tagged::{doc-tests-file}[{api}-request] | ||
-------------------------------------------------- | ||
<1> The policy named `my_policy` will be deleted. | ||
|
||
[id="{upid}-{api}-response"] | ||
==== Response | ||
|
||
The returned +{response}+ indicates if the delete lifecycle policy request was received. | ||
|
||
["source","java",subs="attributes,callouts,macros"] | ||
-------------------------------------------------- | ||
include-tagged::{doc-tests-file}[{api}-response] | ||
-------------------------------------------------- | ||
<1> Whether or not the delete lifecycle policy request was acknowledged. | ||
|
||
include::../execution.asciidoc[] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters