Skip to main content
GET

Overview

Returns a list of all Docker networks in the specified environment. This endpoint requires an environment ID to be provided as a query parameter.

Authentication

This endpoint requires authentication via cookies. The user must have the networks:view permission for the specified environment.

Query Parameters

env
integer
required
The environment ID to list networks from. Required parameter.

Response

networks
array
Array of network objects

Error Responses

Notes

  • Returns an empty array if no environment ID is provided
  • Built-in networks (bridge, host, none) are always included in the response
  • Requires authentication to be enabled and the user to have proper permissions
  • Enterprise users must have access to the specified environment
  • Network data is retrieved directly from the Docker API