diff --git a/api-ref/source/containers.inc b/api-ref/source/containers.inc index 3ca854a7d..5959ab03e 100644 --- a/api-ref/source/containers.inc +++ b/api-ref/source/containers.inc @@ -350,7 +350,7 @@ Update information of container .. rest_method:: PATCH /v1/containers/{container_ident} -Update information of one container attributes. Currently only `cpu` and +Update information of one container attributes. Currently only `cpu`, name and `memory` can be updated. Response Codes @@ -375,6 +375,7 @@ Request - container_ident: container_ident - memory: memory - cpu: cpu + - name: name Request Example ---------------- diff --git a/api-ref/source/samples/container-update-req.json b/api-ref/source/samples/container-update-req.json index 0812f6599..7924970f9 100644 --- a/api-ref/source/samples/container-update-req.json +++ b/api-ref/source/samples/container-update-req.json @@ -1,4 +1,5 @@ { "memory": "200", - "cpu": "3" + "cpu": "3", + "name": "test_new" } diff --git a/api-ref/source/samples/container-update-resp.json b/api-ref/source/samples/container-update-resp.json index da0b6c4f3..7218de91c 100644 --- a/api-ref/source/samples/container-update-resp.json +++ b/api-ref/source/samples/container-update-resp.json @@ -40,7 +40,7 @@ "image_driver": "docker", "task_state": null, "status_reason": null, - "name": "test", + "name": "test_new", "restart_policy": { "MaximumRetryCount": "0", "Name": "no"