Delete a NAT gateway
Deletes a NAT gateway from a VPC. VMs that relied on it lose outbound internet access. Requires scope: network.write.
Authentication
AuthorizationBearer
IBEE platform API token. Production tokens start with ibee_prod_key_; development tokens start with ibee_dev_key_. Use a token only with its matching gateway environment.
Path parameters
vpc_id
VPC ID.
nat_gateway_id
NAT gateway ID.
Query parameters
workspace_id
The positive numeric workspace ID to scope this request to. Zero, negative, and non-numeric values are rejected.
Request
This endpoint expects an object.
public_ip_action
What to do with the gateway’s public IP.
release: give the address back.reserve: keep it as a Reserved IP in the workspace. Omitted: platform-assigned addresses are released; customer Reserved IPs are detached and kept.
Allowed values:
Response
NAT gateway deleted successfully.
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
413
Content Too Large Error
422
Unprocessable Entity Error
423
Locked Error
429
Too Many Requests Error
500
Internal Server Error
502
Bad Gateway Error
503
Service Unavailable Error
504
Gateway Timeout Error
