v1

latestSwagger 2.02026-08-04232286653.5 KB
Projects

Updates a project and returns the updated project.

Requests to this resource must contain the json-encoded representation of the changes they want to make to the project. Currently only the project's name can be changed.

put/organizations/projects

Query parameters

project_idstring required

ID of the project.

Request body

namestring required

New name for the project.

Example request

{
  "name": "Admin"
}

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
      }
    }
  }
}