> ## Documentation Index
> Fetch the complete documentation index at: https://ppio.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# 创建 Network



## OpenAPI

````yaml gpus/v2-spec/create-vpc.json POST /gpus/v2/networks
openapi: 3.0.0
info:
  title: PPIO GPU API v2
  version: 2.0.0
servers:
  - url: https://api.ppio.com
security: []
paths:
  /gpus/v2/networks:
    post:
      summary: 创建 Network
      parameters:
        - name: Content-Type
          in: header
          required: true
          schema:
            type: string
          description: 枚举值:application/json。
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
          description: Bearer 身份验证格式,例如:Bearer `{{API 密钥}}`。
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - region_id
                - name
              properties:
                region_id:
                  type: string
                  description: Region ID。字符串,长度限制:1-255 字符。
                  example: cluster-abc123
                name:
                  type: string
                  description: Network 名称。字符串,长度限制:1-30 字符。
                  example: dev-vpc
      responses:
        '200':
          description: 创建成功
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    description: 创建后的 Network ID
                    example: network-abc123

````