1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 19:28:07 +00:00
gns3-server/docs/api/v2/compute/project/projectsprojectidclose.rst

25 lines
695 B
ReStructuredText
Raw Normal View History

2016-04-18 14:58:06 +00:00
/v2/compute/projects/{project_id}/close
------------------------------------------------------------------------------------------------------------------------------------------
.. contents::
POST /v2/compute/projects/**{project_id}**/close
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Close a project
Parameters
**********
2016-06-04 08:40:39 +00:00
- **project_id**: Project UUID
2016-04-18 14:58:06 +00:00
Response status codes
**********************
2016-06-04 08:40:39 +00:00
- **204**: Project closed
2017-03-06 13:35:39 +00:00
- **404**: The project doesn't exist
2016-04-18 14:58:06 +00:00
2017-03-21 12:32:04 +00:00
Sample session
***************
.. literalinclude:: ../../../examples/compute_post_projectsprojectidclose.txt