1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-30 18:50:58 +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
**********
2018-01-08 04:57:07 +00:00
- **project_id**: Project UUID
2018-01-08 08:26:44 +00:00
- **node_id**: Node UUID
Response status codes
**********************
2018-01-08 08:26:44 +00:00
- **204**: Instance stopped
- **400**: Invalid request
- **404**: Instance doesn't exist