1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-28 01:38:08 +00:00
gns3-server/docs/api/v2/compute/project/projectsprojectidclose.rst

25 lines
695 B
ReStructuredText

/v2/compute/projects/{project_id}/close
------------------------------------------------------------------------------------------------------------------------------------------
.. contents::
POST /v2/compute/projects/**{project_id}**/close
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Close a project
Parameters
**********
- **project_id**: Project UUID
Response status codes
**********************
- **204**: Project closed
- **404**: The project doesn't exist
Sample session
***************
.. literalinclude:: ../../../examples/compute_post_projectsprojectidclose.txt