Skip to main content

Create Default Gateway.

POST 

/networks/:id/default_gateway

Create Default Gateway.

Request

Path Parameters

    id uuidrequired

    Identifies the resource.

Body

required

    network_id uuid

    Network ID.

    wireguard_peer_id uuid

    Wireguard peer ID.

Responses

200: Successful response

Schema

    data object[]

    meta

    object

    total_pages integer
    total_results integer
    page_number integer
    page_size integer

default: Unexpected error

Schema

    errors

    Error[]

  • Array [

  • code intrequired
    title stringrequired
    detail string

    source

    object

    pointer json-pointer

    JSON pointer (RFC6901) to the offending entity.

    parameter string

    Indicates which query parameter caused the error.

    meta object
  • ]

Loading...