v1

latestSwagger 2.02026-08-04232286653.5 KB
Projects

Creates a project and returns the created project.

The logged-in user must have the permission to create projects within the organization. A successful response from this resource contains details of the created project.

post/organizations/projects

Request body

namestring required

Name for the new project.

organization_idstring required

ID of the organization that will own the new project.

Example request

{
  "name": "Admin",
  "organization_id": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab"
}

Response

Example response

{
  "project": {
    "id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
    "name": "Admin",
    "organization_id": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab",
    "relation": "owner",
    "resources": {
      "disks": {
        "count": 5
      },
      "images": {
        "count": 5
      },
      "instances": {
        "count": 5
      },
      "snapshots": {
        "count": 5
      },
      "vpc_networks": {
        "count": 5
      }
    }
  }
}