Skip to main content
POST
/
fleets
/
{fleet}
/
gateways
Create a gateway
curl --request POST \
  --url https://api.example.com/fleets/{fleet}/gateways \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "target_port": 123
}
'
{
  "fleet_id": "<string>",
  "id": "<string>",
  "name": "<string>",
  "namespace": "<string>",
  "protocol": "<string>",
  "target_port": 123
}

Path Parameters

fleet
string
required

Query Parameters

namespace
string

Body

application/json
name
string
required
target_port
integer<int64>
required

Response

OK

fleet_id
string
required
id
string
required
name
string
required
namespace
string
required
protocol
string
required
target_port
integer<int64>
required