[DOCS] Corrected API path for /_security/api_key ()

This commit is contained in:
Shajahan Palayil 2019-02-28 20:08:39 +01:00 committed by GitHub
parent dae48ba262
commit 8ced21db88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

@ -59,7 +59,7 @@ The following example retrieves all API keys for the `native1` realm:
[source,js]
--------------------------------------------------
GET /_xpack/api_key?realm_name=native1
GET /_security/api_key?realm_name=native1
--------------------------------------------------
// NOTCONSOLE
@ -67,7 +67,7 @@ The following example retrieves all API keys for the user `myuser` in all realms
[source,js]
--------------------------------------------------
GET /_xpack/api_key?username=myuser
GET /_security/api_key?username=myuser
--------------------------------------------------
// NOTCONSOLE
@ -76,7 +76,7 @@ Finally, the following example retrieves all API keys for the user `myuser` in
[source,js]
--------------------------------------------------
GET /_xpack/api_key?username=myuser&realm_name=native1
GET /_security/api_key?username=myuser&realm_name=native1
--------------------------------------------------
// NOTCONSOLE

@ -65,7 +65,7 @@ The following example invalidates all API keys for the `native1` realm immediate
[source,js]
--------------------------------------------------
DELETE /_xpack/api_key
DELETE /_security/api_key
{
"realm_name" : "native1"
}
@ -76,7 +76,7 @@ The following example invalidates all API keys for the user `myuser` in all real
[source,js]
--------------------------------------------------
DELETE /_xpack/api_key
DELETE /_security/api_key
{
"username" : "myuser"
}
@ -88,7 +88,7 @@ Finally, the following example invalidates all API keys for the user `myuser` in
[source,js]
--------------------------------------------------
DELETE /_xpack/api_key
DELETE /_security/api_key
{
"username" : "myuser",
"realm_name" : "native1"