1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 17:28:08 +00:00
gns3-server/docs/api/v2/compute/docker/projectsprojectiddockernodesnodeidstop.rst

21 lines
690 B
ReStructuredText
Raw Normal View History

/v2/compute/projects/{project_id}/docker/nodes/{node_id}/stop
------------------------------------------------------------------------------------------------------------------------------------------
.. contents::
POST /v2/compute/projects/**{project_id}**/docker/nodes/**{node_id}**/stop
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Stop a Docker container
Parameters
**********
2016-11-03 17:20:51 +00:00
- **project_id**: Project UUID
2017-03-06 13:35:39 +00:00
- **node_id**: Node UUID
Response status codes
**********************
2017-03-06 13:35:39 +00:00
- **204**: Instance stopped
- **400**: Invalid request
- **404**: Instance doesn't exist