Public M2M API — vpc
Review the operation, its input and access requirements. Parameter names and enum values are protocol identifiers and must retain the exact spelling shown. Optional/defaulted input is marked as such; required fields nested beneath an optional object apply when that object is supplied. Only statically recognized literal constraints are shown; additional validation, conditional requirements and provider rules may apply.
Authentication and permissions · Requests, results and recovery
/api/v1/vpc
Exported methods: GET, POST
GET
- Resource scopes:
networking:read - Query parameters:
tokenId - Explicit response statuses:
422 - Explicit error codes:
networking_error - Response keys observed across outcomes:
data,networks,total
POST
- Resource scopes:
networking:write - Explicit response statuses:
201,422 - Explicit error codes:
invalid_request,networking_error - Response keys observed across outcomes:
data,network
Validated request fields
/api/v1/vpc/{id}
Exported methods: GET, PATCH, DELETE
GET
- Resource scopes:
networking:read - Path parameters:
id - Query parameters:
tokenId - Explicit response statuses:
404,422 - Explicit error codes:
networking_error,not_found - Response keys observed across outcomes:
data,network
PATCH
- Resource scopes:
networking:write - Path parameters:
id - Explicit response statuses:
404,422 - Explicit error codes:
invalid_request,not_found - Response keys observed across outcomes:
data,network
Validated request fields
DELETE
- Resource scopes:
networking:write - Path parameters:
id - Query parameters:
tokenId - Explicit response statuses:
404,422 - Explicit error codes:
networking_error,not_found - Response keys observed across outcomes:
deleted,id
Request input was not extracted for this operation; consult its specific contract before sending. Do not infer that no body is required.
/api/v1/vpc/{id}/subnets
Exported methods: GET, POST, PATCH, DELETE
GET
- Resource scopes:
networking:read - Path parameters:
id - Query parameters:
tokenId - Explicit response statuses:
404,422 - Explicit error codes:
networking_error,not_found - Response keys observed across outcomes:
data,ipRange,networkId,subnets
POST
- Resource scopes:
networking:write - Path parameters:
id - Explicit response statuses:
201,422 - Explicit error codes:
invalid_request,networking_error - Response keys observed across outcomes:
data,subnet
Validated request fields
PATCH
- Resource scopes:
networking:write - Path parameters:
id - Explicit response statuses:
422 - Explicit error codes:
invalid_request - Response keys observed across outcomes:
description,gateway,ipRange,networkId,ok
Validated request fields
DELETE
- Resource scopes:
networking:write - Path parameters:
id - Query parameters:
cidr,ipRange,subnetId,tokenId - Explicit response statuses:
400,422 - Explicit error codes:
invalid_request,networking_error - Response keys observed across outcomes:
deleted,ipRange,networkId
Provide ipRange (aliases cidr or subnetId) in query or JSON and the network ID in the path. With tokenId, the provider delete is requested; without it the handler returns a deletion result without that provider call. Verify provider state.
JSON properties observed: cidr, ipRange, subnetId, tokenId.
These names are read by the handler; they are not a complete schema or a promise that every property applies to every branch. Check the validation messages and operation result.