Skip to main content
POST
/
projects
/
{project_id}
/
vpcs
/
{vpc_id}
/
rename
Rename a VPC
curl --request POST \
  --url https://console.cloud.timescale.com/public/api/v1/projects/{project_id}/vpcs/{vpc_id}/rename \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "my-renamed-vpc"
}
'
{
  "id": "1234567890",
  "name": "my-production-vpc",
  "cidr": "10.0.0.0/16",
  "region_code": "us-east-1"
}

Authorizations

Authorization
string
header
required

HTTP Basic Authentication using your Tiger Cloud public key and secret key.

Format: Authorization: Basic <base64(public_key:secret_key)>

Example:

curl -X GET "https://console.cloud.timescale.com/public/api/v1/projects/{project_id}/services" \
-H "Authorization: Basic $(echo -n 'your_public_key:your_secret_key' | base64)"

Path Parameters

project_id
string
required

The unique identifier of the project.

Example:

"rp1pz7uyae"

vpc_id
string
required

The unique identifier of the VPC.

Example:

"1234567890"

Body

application/json
name
string
required

The new name for the VPC.

Example:

"my-renamed-vpc"

Response

VPC renamed successfully.

id
string
Example:

"1234567890"

name
string
Example:

"my-production-vpc"

cidr
string
Example:

"10.0.0.0/16"

region_code
string
Example:

"us-east-1"