open-vault/website/source/docs/http/sys-leader.html.md

38 lines
618 B
Markdown
Raw Normal View History

2015-04-20 19:02:32 +00:00
---
layout: "http"
page_title: "HTTP API: /sys/leader"
sidebar_current: "docs-http-ha-leader"
description: |-
The '/sys/leader' endpoint is used to check the high availability status and current leader of Vault.
---
# /sys/leader
<dl>
<dt>Description</dt>
<dd>
Returns the high availability status and current leader instance of Vault.
</dd>
2015-04-20 19:02:32 +00:00
<dt>Method</dt>
<dd>GET</dd>
2015-04-20 19:02:32 +00:00
<dt>Parameters</dt>
<dd>
None
</dd>
2015-04-20 19:02:32 +00:00
<dt>Returns</dt>
<dd>
2015-04-20 19:02:32 +00:00
```javascript
{
"ha_enabled": true,
"is_self": false,
"leader_address": "https://127.0.0.1:8200/"
}
```
</dd>
2015-04-20 19:02:32 +00:00
</dl>