HomeGuidesAPI Reference
GuidesAPI ReferenceGitHubAirheads Developer CommunityLog In
API Reference

/system/containers/{Container.name}/container_networks

Path Params
string
required

Reference Resource: Container
Name of the container.

Body Params
string
required

Reference Resource: Container_Network
Container to which this network belongs.

port_mapping
object

Specifies the configuration required to apply port mapping. This is a map of the form {PROTOCOL: {HOST_PORT: CONTAINER_PORT}}, with PROTOCOL being one of either "tcp" or "udp", and the HOST_PORT and CONTAINER_PORT being an unused port number, from 1 to 65535.

boolean

Deprecated. Using this column will have no effect.

string
required

Reference Resource: Container_Network
VRF to which the container would be connected.

Responses
201

Created

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

415

Unsupported Media Type

500

Internal Server Error

501

Not Implemented

503

Service Unavailable

Language
Response
Click Try It! to start a request and see the response here!