Skip to main content
PATCH
/
network
/
vpcs
/
{vpc_id}
Update VPC
curl --request PATCH \
  --url https://api.cloud.onidel.com/network/vpcs/{vpc_id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Updated VPC Name",
  "description": "Updated VPC description",
  "team_id": "c1d45377-b2a9-4407-ab8d-6909c34dfaac"
}
'

Authorizations

Authorization
string
header
required

Provide the value as: Token <your-api-token>

Path Parameters

vpc_id
string<uuid>
required

VPC UUID

Body

application/json
name
string
required
Maximum string length: 255
Example:

"Updated VPC Name"

description
string
required
Maximum string length: 255
Example:

"Updated VPC description"

team_id
string<uuid>

Team ID. Default team will be used if not provided.

Example:

"c1d45377-b2a9-4407-ab8d-6909c34dfaac"

Response

VPC updated successfully