Fix allocation restart API docs example

This commit is contained in:
Ignacio Torres Masdeu
2021-07-30 16:45:21 +02:00
committed by GitHub
parent dffdc93bf7
commit eb4ad96953

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