Merge pull request #10976 from itorres/api-docs-allocation-restart-sample

API docs: Fix allocation restart example
This commit is contained in:
Derek Strickland
2021-08-02 08:48:45 -04:00
committed by GitHub

View File

@@ -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
```