> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify-poc.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Rename a VPC

> Updates the name of a specific VPC.



## OpenAPI

````yaml /api-reference/tiger-cloud-rest-api/openapi.yaml post /projects/{project_id}/vpcs/{vpc_id}/rename
openapi: 3.0.3
info:
  title: Tiger Cloud API
  description: |
    A RESTful API for Tiger Cloud.
  version: 1.0.0
  license:
    name: Proprietary
    url: https://www.tigerdata.com/legal/terms
  contact:
    name: Tiger Data Support
    url: https://www.tigerdata.com/contact
servers:
  - url: https://console.cloud.timescale.com/public/api/v1
    description: API server for Tiger Cloud
  - url: http://localhost:8080
    description: Local development server
security:
  - basicAuth: []
tags:
  - name: Auth
    description: Authentication and authorization information.
  - name: VPCs
    description: Manage VPCs and their peering connections.
  - name: Services
    description: Manage services, read replicas, and their associated actions.
  - name: Analytics
    description: Track analytics events.
paths:
  /projects/{project_id}/vpcs/{vpc_id}/rename:
    post:
      tags:
        - VPCs
      summary: Rename a VPC
      description: Updates the name of a specific VPC.
      parameters:
        - $ref: '#/components/parameters/ProjectId'
        - $ref: '#/components/parameters/VPCId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VPCRename'
      responses:
        '200':
          description: VPC renamed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VPC'
        4XX:
          $ref: '#/components/responses/ClientError'
components:
  parameters:
    ProjectId:
      name: project_id
      in: path
      required: true
      description: The unique identifier of the project.
      schema:
        type: string
        example: rp1pz7uyae
    VPCId:
      name: vpc_id
      in: path
      required: true
      description: The unique identifier of the VPC.
      schema:
        type: string
        example: '1234567890'
  schemas:
    VPCRename:
      type: object
      required:
        - name
      properties:
        name:
          type: string
          description: The new name for the VPC.
          example: my-renamed-vpc
    VPC:
      type: object
      properties:
        id:
          type: string
          readOnly: true
          example: '1234567890'
        name:
          type: string
          example: my-production-vpc
        cidr:
          type: string
          example: 10.0.0.0/16
        region_code:
          type: string
          example: us-east-1
    Error:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
  responses:
    ClientError:
      description: Client error response (4xx status codes).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: >
        HTTP Basic Authentication using your Tiger Cloud public key and secret
        key.


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


        Example:

        ```bash

        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)"
        ```

````