From 3bd38517eb921660b95e1ff499df9202337030b0 Mon Sep 17 00:00:00 2001 From: Andrew Slattery Date: Thu, 17 May 2018 08:46:19 -0700 Subject: [PATCH] Update KV response code (#4568) Creating/Updating a secret in KV-V2 produces a status code `200` with a response body of `application/json`, whereas the previous documentation notated a `204 (empty body)` expected response code. --- website/source/api/secret/kv/kv-v2.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/source/api/secret/kv/kv-v2.html.md b/website/source/api/secret/kv/kv-v2.html.md index 2e0ef11fe..e4ae6797a 100644 --- a/website/source/api/secret/kv/kv-v2.html.md +++ b/website/source/api/secret/kv/kv-v2.html.md @@ -110,7 +110,7 @@ have an ACL policy granting the `update` capability. | Method | Path | Produces | | :------- | :--------------------------- | :--------------------- | -| `POST` | `/secret/data/:path` | `204 (empty body)` | +| `POST` | `/secret/data/:path` | `200 application/json` | ### Parameters