From eb4ad96953a83d43ffa300215c1bcd6a353a668d Mon Sep 17 00:00:00 2001 From: Ignacio Torres Masdeu Date: Fri, 30 Jul 2021 16:45:21 +0200 Subject: [PATCH] Fix allocation restart API docs example --- website/content/api-docs/allocations.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/content/api-docs/allocations.mdx b/website/content/api-docs/allocations.mdx index aaad60d62..ded05e406 100644 --- a/website/content/api-docs/allocations.mdx +++ b/website/content/api-docs/allocations.mdx @@ -697,14 +697,14 @@ The table below shows this endpoint's support for ```json { - "Task": "FOO" + "TaskName": "FOO" } ``` ### Sample Request ```shell-session -$ curl -X POST -d '{"Task": "redis" }' \ +$ curl -X POST -d '{"TaskName": "redis" }' \ https://localhost:4646/v1/client/allocation/5456bd7a-9fc0-c0dd-6131-cbee77f57577/restart ```