---
title: "POST /scopes/containers/{handle}/binding"
method: POST
path: "/scopes/containers/{handle}/binding"
tags: ["scopes"]
---

# POST /scopes/containers/{handle}/binding

`POST /scopes/containers/{handle}/binding`

Perform scope initialization for each of the scopes the container belongs to. Network initialization may include, for example, assigning addresses on a scope.

## Path parameters

- `handle` string, required

## Response `200`

OK

- BindContainerResponse
  - `handle` string, required
  - `endpoints` EndpointConfig[], required
    - `id` string, required
    - `name` string, required
    - `scope` string, required
    - `address` string, required
    - `gateway` string, required
    - `container` string, required
    - `ports` string[], required
    - `aliases` string[], required
    - `nameservers` string[], required
    - `trust` string
    - `direct` boolean
    - `macaddress` string

## Other responses

- `404` — Not found
- `500` — error

---

[API](https://skmtc.dev/vmware/apis/port-layer-api.md) · [All operations](https://skmtc.dev/vmware/apis/port-layer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vmware/port-layer-api/revisions/5fff0b8814c7/schema)
