Skip to content
Docs

Update Project

PATCH/v1/projects/{project_id}

Update an existing project

Path ParametersExpand Collapse
project_id: string
Body ParametersJSONExpand Collapse
name: optional string

Project name.

maxLength255
minLength1
tags: optional array of string

Tags to attach to the Project.

ReturnsExpand Collapse
Project object { id, created_at, name, 3 more }

Project response.

id: string

Project ID.

created_at: string

When the Project was created.

formatdate-time
name: string

Project name.

maxLength255
minLength1
resources: ProjectResources { blockchain, cloud }

Resource counts for the project.

blockchain: ProjectBlockchainResources { rpc_nodes_dedicated, rpc_nodes_flex }

Blockchain resources.

rpc_nodes_dedicated: number

Number of dedicated RPC nodes in the project.

rpc_nodes_flex: number

Number of flex RPC nodes in the project.

cloud: ProjectCloudResources { connect_connections, nks_clusters, nks_node_pools, 3 more }

Cloud infrastructure resources.

connect_connections: number

Number of Connect connections in the project.

nks_clusters: number

Number of NKS clusters in the project.

nks_node_pools: number

Number of NKS node pools in the project.

vms: number

Number of VMs in the project.

volumes: number

Number of volumes in the project.

vpcs: number

Number of VPCs in the project.

tags: array of string

Tags attached to the Project.

updated_at: string

When the Project was updated.

formatdate-time

Update Project

curl https://api.nirvanalabs.io/v1/projects/$PROJECT_ID \
    -X PATCH \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $NIRVANA_LABS_API_KEY" \
    -d '{
          "name": "My Updated Project",
          "tags": [
            "production",
            "ethereum"
          ]
        }'
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "created_at": "2025-01-01T00:00:00Z",
  "name": "My Project",
  "resources": {
    "blockchain": {
      "rpc_nodes_dedicated": 1,
      "rpc_nodes_flex": 3
    },
    "cloud": {
      "connect_connections": 1,
      "nks_clusters": 2,
      "nks_node_pools": 4,
      "vms": 5,
      "volumes": 10,
      "vpcs": 2
    }
  },
  "tags": [
    "production",
    "ethereum"
  ],
  "updated_at": "2025-01-01T00:00:00Z"
}
Returns Examples
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "created_at": "2025-01-01T00:00:00Z",
  "name": "My Project",
  "resources": {
    "blockchain": {
      "rpc_nodes_dedicated": 1,
      "rpc_nodes_flex": 3
    },
    "cloud": {
      "connect_connections": 1,
      "nks_clusters": 2,
      "nks_node_pools": 4,
      "vms": 5,
      "volumes": 10,
      "vpcs": 2
    }
  },
  "tags": [
    "production",
    "ethereum"
  ],
  "updated_at": "2025-01-01T00:00:00Z"
}