execute_snapshot_lifecycle_retention.asciidoc 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. --
  2. :api: slm-execute-snapshot-lifecycle-retention
  3. :request: ExecuteSnapshotLifecycleRetentionRequest
  4. :response: AcknowledgedResponse
  5. --
  6. [role="xpack"]
  7. [id="{upid}-{api}"]
  8. === Execute Snapshot Lifecycle Retention API
  9. [id="{upid}-{api}-request"]
  10. ==== Request
  11. The Execute Snapshot Lifecycle Retention API allows you to execute Snapshot Lifecycle Management
  12. Retention immediately, rather than waiting for its regularly scheduled execution.
  13. ["source","java",subs="attributes,callouts,macros"]
  14. --------------------------------------------------
  15. include-tagged::{doc-tests-file}[{api}-request]
  16. --------------------------------------------------
  17. [id="{upid}-{api}-response"]
  18. ==== Response
  19. The returned +{response}+ contains a boolean for whether the request was
  20. acknowledged by the master node.
  21. ["source","java",subs="attributes,callouts,macros"]
  22. --------------------------------------------------
  23. include-tagged::{doc-tests-file}[{api}-response]
  24. --------------------------------------------------
  25. include::../execution.asciidoc[]