Skip to content

API: Network

Generated from the API's OpenAPI schema. Paths are relative to https://cloud.tebibhost.com. Authentication, errors, pagination and idempotency are on the API overview.

GET/api/v1/projects/{project_id}/nat-gateways

List Nat Gateways (listNatGateways)

IAM action: network:DescribeNatGateway

ParameterInTypeDescription
project_id requiredpathstring
limitqueryinteger (nullable)
cursorquerystring (nullable)

Responses

  • 200 OK (Page_NatGatewayOut_)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of Page_NatGatewayOut_
FieldTypeDescription
itemsarray of NatGatewayOut
next_cursorstring (nullable)

POST/api/v1/projects/{project_id}/nat-gateways

Create Nat Gateway (createNatGateway)

IAM action: network:CreateNatGateway

ParameterInTypeDescription
project_id requiredpathstring

Request body (JSON, NatGatewayIn)

FieldTypeDescription
descriptionstring Default: "".
name requiredstring
public_ip_idstring (nullable)An allocated public IP for outbound SNAT (optional)
subnet_id requiredstringWhere the gateway's LAN leg sits (any subnet of the VPC)
tagsobject

Responses

  • 202 Accepted (NatGatewayOut)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of NatGatewayOut
FieldTypeDescription
created_atstring (date-time)
descriptionstring
idstring
lan_ipstring
namestring
project_idstring
public_addressstring (nullable)
public_ip_idstring (nullable)
statestring
status_messagestring
subnet_idstring
tagsobject
trnstring
updated_atstring (date-time)
vpc_idstring

GET/api/v1/projects/{project_id}/nat-gateways/{nat_id}

Get Nat Gateway (getNatGateway)

IAM action: network:DescribeNatGateway

ParameterInTypeDescription
project_id requiredpathstring
nat_id requiredpathstring

Responses

  • 200 OK (NatGatewayOut)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of NatGatewayOut
FieldTypeDescription
created_atstring (date-time)
descriptionstring
idstring
lan_ipstring
namestring
project_idstring
public_addressstring (nullable)
public_ip_idstring (nullable)
statestring
status_messagestring
subnet_idstring
tagsobject
trnstring
updated_atstring (date-time)
vpc_idstring

PATCH/api/v1/projects/{project_id}/nat-gateways/{nat_id}

Update Nat Gateway (updateNatGateway)

IAM action: network:UpdateNatGateway

ParameterInTypeDescription
project_id requiredpathstring
nat_id requiredpathstring

Request body (JSON, TagsPatch)

FieldTypeDescription
descriptionstring (nullable)
tagsobject (nullable)

Responses

  • 200 OK (NatGatewayOut)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of NatGatewayOut
FieldTypeDescription
created_atstring (date-time)
descriptionstring
idstring
lan_ipstring
namestring
project_idstring
public_addressstring (nullable)
public_ip_idstring (nullable)
statestring
status_messagestring
subnet_idstring
tagsobject
trnstring
updated_atstring (date-time)
vpc_idstring

DELETE/api/v1/projects/{project_id}/nat-gateways/{nat_id}

Delete Nat Gateway (deleteNatGateway)

IAM action: network:DeleteNatGateway

ParameterInTypeDescription
project_id requiredpathstring
nat_id requiredpathstring

Responses

  • 202 Accepted (NatGatewayOut)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of NatGatewayOut
FieldTypeDescription
created_atstring (date-time)
descriptionstring
idstring
lan_ipstring
namestring
project_idstring
public_addressstring (nullable)
public_ip_idstring (nullable)
statestring
status_messagestring
subnet_idstring
tagsobject
trnstring
updated_atstring (date-time)
vpc_idstring

GET/api/v1/projects/{project_id}/public-ips

List Public Ips (listPublicIps)

IAM action: network:DescribePublicIp

ParameterInTypeDescription
project_id requiredpathstring
limitqueryinteger (nullable)
cursorquerystring (nullable)

Responses

  • 200 OK (Page_PublicIpOut_)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of Page_PublicIpOut_
FieldTypeDescription
itemsarray of PublicIpOut
next_cursorstring (nullable)

POST/api/v1/projects/{project_id}/public-ips

Allocate Public Ip (allocatePublicIp)

IAM action: network:AllocatePublicIp

ParameterInTypeDescription
project_id requiredpathstring

Request body (JSON, PublicIpIn)

FieldTypeDescription
descriptionstring Default: "".
name requiredstring
tagsobject

Responses

  • 202 Accepted (PublicIpOut)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of PublicIpOut
FieldTypeDescription
addressstring
associationstring
created_atstring (date-time)
descriptionstring
idstring
load_balancer_idstring (nullable)
namestring
nat_gateway_idstring (nullable)
project_idstring
statestring
status_messagestring
tagsobject
trnstring
updated_atstring (date-time)
vm_idstring (nullable)

GET/api/v1/projects/{project_id}/public-ips/{ip_id}

Get Public Ip (getPublicIp)

IAM action: network:DescribePublicIp

ParameterInTypeDescription
project_id requiredpathstring
ip_id requiredpathstring

Responses

  • 200 OK (PublicIpOut)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of PublicIpOut
FieldTypeDescription
addressstring
associationstring
created_atstring (date-time)
descriptionstring
idstring
load_balancer_idstring (nullable)
namestring
nat_gateway_idstring (nullable)
project_idstring
statestring
status_messagestring
tagsobject
trnstring
updated_atstring (date-time)
vm_idstring (nullable)

PATCH/api/v1/projects/{project_id}/public-ips/{ip_id}

Update Public Ip (updatePublicIp)

IAM action: network:UpdatePublicIp

ParameterInTypeDescription
project_id requiredpathstring
ip_id requiredpathstring

Request body (JSON, TagsPatch)

FieldTypeDescription
descriptionstring (nullable)
tagsobject (nullable)

Responses

  • 200 OK (PublicIpOut)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of PublicIpOut
FieldTypeDescription
addressstring
associationstring
created_atstring (date-time)
descriptionstring
idstring
load_balancer_idstring (nullable)
namestring
nat_gateway_idstring (nullable)
project_idstring
statestring
status_messagestring
tagsobject
trnstring
updated_atstring (date-time)
vm_idstring (nullable)

DELETE/api/v1/projects/{project_id}/public-ips/{ip_id}

Release Public Ip (releasePublicIp)

IAM action: network:ReleasePublicIp

ParameterInTypeDescription
project_id requiredpathstring
ip_id requiredpathstring

Responses

  • 202 Accepted (PublicIpOut)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of PublicIpOut
FieldTypeDescription
addressstring
associationstring
created_atstring (date-time)
descriptionstring
idstring
load_balancer_idstring (nullable)
namestring
nat_gateway_idstring (nullable)
project_idstring
statestring
status_messagestring
tagsobject
trnstring
updated_atstring (date-time)
vm_idstring (nullable)

POST/api/v1/projects/{project_id}/public-ips/{ip_id}/associate

Associate Public Ip (associatePublicIp)

IAM action: network:AssociatePublicIp

ParameterInTypeDescription
project_id requiredpathstring
ip_id requiredpathstring

Request body (JSON, AssociateIn)

FieldTypeDescription
nat_gateway_idstring (nullable)
vm_idstring (nullable)

Responses

  • 202 Accepted (PublicIpOut)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of PublicIpOut
FieldTypeDescription
addressstring
associationstring
created_atstring (date-time)
descriptionstring
idstring
load_balancer_idstring (nullable)
namestring
nat_gateway_idstring (nullable)
project_idstring
statestring
status_messagestring
tagsobject
trnstring
updated_atstring (date-time)
vm_idstring (nullable)

POST/api/v1/projects/{project_id}/public-ips/{ip_id}/disassociate

Disassociate Public Ip (disassociatePublicIp)

IAM action: network:DisassociatePublicIp

ParameterInTypeDescription
project_id requiredpathstring
ip_id requiredpathstring

Responses

  • 202 Accepted (PublicIpOut)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of PublicIpOut
FieldTypeDescription
addressstring
associationstring
created_atstring (date-time)
descriptionstring
idstring
load_balancer_idstring (nullable)
namestring
nat_gateway_idstring (nullable)
project_idstring
statestring
status_messagestring
tagsobject
trnstring
updated_atstring (date-time)
vm_idstring (nullable)

GET/api/v1/projects/{project_id}/public-ips/{ip_id}/history

Public Ip History (publicIpHistory)

This allocation's own events (not the address's earlier holders).

IAM action: network:DescribePublicIp

ParameterInTypeDescription
project_id requiredpathstring
ip_id requiredpathstring

Responses

  • 200 OK (array of PublicAddressEventOut)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)

GET/api/v1/projects/{project_id}/security-groups

List Security Groups (listSecurityGroups)

IAM action: network:DescribeSecurityGroup

ParameterInTypeDescription
project_id requiredpathstring
vpc_idquerystring (nullable)
limitqueryinteger (nullable)
cursorquerystring (nullable)

Responses

  • 200 OK (Page_SecurityGroupOut_)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of Page_SecurityGroupOut_
FieldTypeDescription
itemsarray of SecurityGroupOut
next_cursorstring (nullable)

POST/api/v1/projects/{project_id}/security-groups

Create Security Group (createSecurityGroup)

IAM action: network:CreateSecurityGroup

ParameterInTypeDescription
project_id requiredpathstring

Request body (JSON, SecurityGroupIn)

FieldTypeDescription
descriptionstring Default: "".
name requiredstring
tagsobject
vpc_id requiredstring

Responses

  • 202 Accepted (SecurityGroupOut)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of SecurityGroupOut
FieldTypeDescription
allow_same_groupboolean
created_atstring (date-time)
descriptionstring
idstring
is_defaultboolean
namestring
project_idstring
rulesarray of RuleOut
statestring
status_messagestring
tagsobject
trnstring
updated_atstring (date-time)
vpc_idstring

GET/api/v1/projects/{project_id}/security-groups/{group_id}

Get Security Group (getSecurityGroup)

IAM action: network:DescribeSecurityGroup

ParameterInTypeDescription
project_id requiredpathstring
group_id requiredpathstring

Responses

  • 200 OK (SecurityGroupOut)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of SecurityGroupOut
FieldTypeDescription
allow_same_groupboolean
created_atstring (date-time)
descriptionstring
idstring
is_defaultboolean
namestring
project_idstring
rulesarray of RuleOut
statestring
status_messagestring
tagsobject
trnstring
updated_atstring (date-time)
vpc_idstring

PATCH/api/v1/projects/{project_id}/security-groups/{group_id}

Update Security Group (updateSecurityGroup)

IAM action: network:UpdateSecurityGroup

ParameterInTypeDescription
project_id requiredpathstring
group_id requiredpathstring

Request body (JSON, TagsPatch)

FieldTypeDescription
descriptionstring (nullable)
tagsobject (nullable)

Responses

  • 200 OK (SecurityGroupOut)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of SecurityGroupOut
FieldTypeDescription
allow_same_groupboolean
created_atstring (date-time)
descriptionstring
idstring
is_defaultboolean
namestring
project_idstring
rulesarray of RuleOut
statestring
status_messagestring
tagsobject
trnstring
updated_atstring (date-time)
vpc_idstring

DELETE/api/v1/projects/{project_id}/security-groups/{group_id}

Delete Security Group (deleteSecurityGroup)

IAM action: network:DeleteSecurityGroup

ParameterInTypeDescription
project_id requiredpathstring
group_id requiredpathstring

Responses

  • 202 Accepted (SecurityGroupOut)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of SecurityGroupOut
FieldTypeDescription
allow_same_groupboolean
created_atstring (date-time)
descriptionstring
idstring
is_defaultboolean
namestring
project_idstring
rulesarray of RuleOut
statestring
status_messagestring
tagsobject
trnstring
updated_atstring (date-time)
vpc_idstring

POST/api/v1/projects/{project_id}/security-groups/{group_id}/rules

Add Rule (addRule)

IAM action: network:AuthorizeSecurityGroupIngressnetwork:AuthorizeSecurityGroupEgress

ParameterInTypeDescription
project_id requiredpathstring
group_id requiredpathstring

Request body (JSON, RuleIn)

FieldTypeDescription
descriptionstring Default: "".
direction required"ingress" | "egress"
ip_version"ipv4" | "ipv6" (nullable)Taken from remote_cidr when omitted; required with remote_group_id
port_frominteger (nullable)
port_tointeger (nullable)
protocol required"all" | "tcp" | "udp" | "icmp"
remote_cidrstring (nullable)
remote_group_idstring (nullable)

Responses

  • 202 Accepted (SecurityGroupOut)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of SecurityGroupOut
FieldTypeDescription
allow_same_groupboolean
created_atstring (date-time)
descriptionstring
idstring
is_defaultboolean
namestring
project_idstring
rulesarray of RuleOut
statestring
status_messagestring
tagsobject
trnstring
updated_atstring (date-time)
vpc_idstring

DELETE/api/v1/projects/{project_id}/security-groups/{group_id}/rules/{rule_id}

Remove Rule (removeRule)

IAM action: network:RevokeSecurityGroupIngressnetwork:RevokeSecurityGroupEgress

ParameterInTypeDescription
project_id requiredpathstring
group_id requiredpathstring
rule_id requiredpathstring

Responses

  • 202 Accepted (SecurityGroupOut)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of SecurityGroupOut
FieldTypeDescription
allow_same_groupboolean
created_atstring (date-time)
descriptionstring
idstring
is_defaultboolean
namestring
project_idstring
rulesarray of RuleOut
statestring
status_messagestring
tagsobject
trnstring
updated_atstring (date-time)
vpc_idstring

GET/api/v1/projects/{project_id}/subnets

List Subnets (listSubnets)

IAM action: network:DescribeSubnet

ParameterInTypeDescription
project_id requiredpathstring
vpc_idquerystring (nullable)
limitqueryinteger (nullable)
cursorquerystring (nullable)

Responses

  • 200 OK (Page_SubnetOut_)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of Page_SubnetOut_
FieldTypeDescription
itemsarray of SubnetOut
next_cursorstring (nullable)

POST/api/v1/projects/{project_id}/subnets

Create Subnet (createSubnet)

IAM action: network:CreateSubnet

ParameterInTypeDescription
project_id requiredpathstring

Request body (JSON, SubnetIn)

FieldTypeDescription
cidr requiredstringIPv4 CIDR inside the VPC's, not overlapping its subnets
descriptionstring Default: "".
name requiredstring
tagsobject
vpc_id requiredstring

Responses

  • 202 Accepted (SubnetOut)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of SubnetOut
FieldTypeDescription
available_ipv4integer (nullable)
cidrstring
created_atstring (date-time)
descriptionstring
gatewaystring
idstring
ipv6_cidrstring
ipv6_gatewaystring
is_defaultboolean
namestring
project_idstring
statestring
status_messagestring
tagsobject
trnstring
updated_atstring (date-time)
vpc_idstring

GET/api/v1/projects/{project_id}/subnets/{subnet_id}

Get Subnet (getSubnet)

IAM action: network:DescribeSubnet

ParameterInTypeDescription
project_id requiredpathstring
subnet_id requiredpathstring

Responses

  • 200 OK (SubnetOut)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of SubnetOut
FieldTypeDescription
available_ipv4integer (nullable)
cidrstring
created_atstring (date-time)
descriptionstring
gatewaystring
idstring
ipv6_cidrstring
ipv6_gatewaystring
is_defaultboolean
namestring
project_idstring
statestring
status_messagestring
tagsobject
trnstring
updated_atstring (date-time)
vpc_idstring

PATCH/api/v1/projects/{project_id}/subnets/{subnet_id}

Update Subnet (updateSubnet)

IAM action: network:UpdateSubnet

ParameterInTypeDescription
project_id requiredpathstring
subnet_id requiredpathstring

Request body (JSON, TagsPatch)

FieldTypeDescription
descriptionstring (nullable)
tagsobject (nullable)

Responses

  • 200 OK (SubnetOut)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of SubnetOut
FieldTypeDescription
available_ipv4integer (nullable)
cidrstring
created_atstring (date-time)
descriptionstring
gatewaystring
idstring
ipv6_cidrstring
ipv6_gatewaystring
is_defaultboolean
namestring
project_idstring
statestring
status_messagestring
tagsobject
trnstring
updated_atstring (date-time)
vpc_idstring

DELETE/api/v1/projects/{project_id}/subnets/{subnet_id}

Delete Subnet (deleteSubnet)

IAM action: network:DeleteSubnet

ParameterInTypeDescription
project_id requiredpathstring
subnet_id requiredpathstring

Responses

  • 202 Accepted (SubnetOut)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of SubnetOut
FieldTypeDescription
available_ipv4integer (nullable)
cidrstring
created_atstring (date-time)
descriptionstring
gatewaystring
idstring
ipv6_cidrstring
ipv6_gatewaystring
is_defaultboolean
namestring
project_idstring
statestring
status_messagestring
tagsobject
trnstring
updated_atstring (date-time)
vpc_idstring

GET/api/v1/projects/{project_id}/vpcs

List Vpcs (listVpcs)

IAM action: network:DescribeVpc

ParameterInTypeDescription
project_id requiredpathstring
limitqueryinteger (nullable)
cursorquerystring (nullable)

Responses

  • 200 OK (Page_VpcOut_)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of Page_VpcOut_
FieldTypeDescription
itemsarray of VpcOut
next_cursorstring (nullable)

POST/api/v1/projects/{project_id}/vpcs

Create Vpc (createVpc)

IAM action: network:CreateVpc

ParameterInTypeDescription
project_id requiredpathstring

Request body (JSON, VpcIn)

FieldTypeDescription
cidr requiredstringIPv4 CIDR from 10/8, 172.16/12 or 192.168/16, /16 to /28
descriptionstring Default: "".
name requiredstring
tagsobject

Responses

  • 202 Accepted (VpcOut)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of VpcOut
FieldTypeDescription
cidrstring
created_atstring (date-time)
descriptionstring
dns_serverstring
has_nat_gatewayboolean
idstring
ipv6_cidrstring
is_defaultboolean
namestring
project_idstring
statestring
status_messagestring
tagsobject
trnstring
updated_atstring (date-time)

GET/api/v1/projects/{project_id}/vpcs/{vpc_id}

Get Vpc (getVpc)

IAM action: network:DescribeVpc

ParameterInTypeDescription
project_id requiredpathstring
vpc_id requiredpathstring

Responses

  • 200 OK (VpcOut)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of VpcOut
FieldTypeDescription
cidrstring
created_atstring (date-time)
descriptionstring
dns_serverstring
has_nat_gatewayboolean
idstring
ipv6_cidrstring
is_defaultboolean
namestring
project_idstring
statestring
status_messagestring
tagsobject
trnstring
updated_atstring (date-time)

PATCH/api/v1/projects/{project_id}/vpcs/{vpc_id}

Update Vpc (updateVpc)

IAM action: network:UpdateVpc

ParameterInTypeDescription
project_id requiredpathstring
vpc_id requiredpathstring

Request body (JSON, TagsPatch)

FieldTypeDescription
descriptionstring (nullable)
tagsobject (nullable)

Responses

  • 200 OK (VpcOut)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of VpcOut
FieldTypeDescription
cidrstring
created_atstring (date-time)
descriptionstring
dns_serverstring
has_nat_gatewayboolean
idstring
ipv6_cidrstring
is_defaultboolean
namestring
project_idstring
statestring
status_messagestring
tagsobject
trnstring
updated_atstring (date-time)

DELETE/api/v1/projects/{project_id}/vpcs/{vpc_id}

Delete Vpc (deleteVpc)

IAM action: network:DeleteVpc

ParameterInTypeDescription
project_id requiredpathstring
vpc_id requiredpathstring

Responses

  • 202 Accepted (VpcOut)
  • 400 Invalid request (ErrorOut)
  • 401 Not authenticated (ErrorOut)
  • 403 Access denied: the error names the action and the resource (ErrorOut)
  • 404 Not found (also: the resource belongs to another organization) (ErrorOut)
  • 409 Conflict or quota exceeded (ErrorOut)
  • 422 Idempotency key reused for a different request (ErrorOut)
  • 429 Rate limited (ErrorOut)
Fields of VpcOut
FieldTypeDescription
cidrstring
created_atstring (date-time)
descriptionstring
dns_serverstring
has_nat_gatewayboolean
idstring
ipv6_cidrstring
is_defaultboolean
namestring
project_idstring
statestring
status_messagestring
tagsobject
trnstring
updated_atstring (date-time)