Interlaken
API referenceNetworkingSubnets

Attach a DHCP config to a subnet

POST
/api/v1/subnets/{id}/dhcp-config

Requires the dhcp_configs:attach permission.

Authorization

AuthorizationBearer <token>

An access token from this zone's POST /oauth/token, or a session token from POST /api/v1/auth/login. Send it as Authorization: Bearer <token>.

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v1/subnets/string/dhcp-config"
{  "attached_at": "2019-08-24T14:15:22Z",  "config_id": "d1d31429-d888-4f1c-b9c1-4e842f9bce5b",  "subnet_id": "69f11071-4ccc-4bb5-932b-00eac1b68892"}