From a649f8535817cee2072c9e919d24101a8da06112 Mon Sep 17 00:00:00 2001 From: Navneet Kumar Date: Wed, 6 May 2020 05:52:45 -0700 Subject: [PATCH] [DOCS] Create API key API requires `name` request body param (#56262) Fixes #56164. A minor update in the documentation, API key name is required when creating API key. If the API key name is not provided then the request will fail. --- x-pack/docs/en/rest-api/security/create-api-keys.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/docs/en/rest-api/security/create-api-keys.asciidoc b/x-pack/docs/en/rest-api/security/create-api-keys.asciidoc index ebf124c599e..f581cf4e4dc 100644 --- a/x-pack/docs/en/rest-api/security/create-api-keys.asciidoc +++ b/x-pack/docs/en/rest-api/security/create-api-keys.asciidoc @@ -44,7 +44,7 @@ service. The following parameters can be specified in the body of a POST or PUT request: `name`:: -(Optional, string) Specifies the name for this API key. +(Required, string) Specifies the name for this API key. `role_descriptors`:: (Optional, array-of-role-descriptor) An array of role descriptors for this API