Create proxy

POST /api/fleet/proxies

Spaces method and path for this operation:

post /s/{space_id}/api/fleet/proxies

Refer to Spaces for more information.

application/json

Body

  • certificate string
  • certificate_authorities string
  • certificate_key string
  • id string
  • name string Required
  • proxy_headers object
  • url string Required

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • item object
      Hide item attributes Show item attributes object
      • certificate string
      • certificate_authorities string
      • certificate_key string
      • id string
      • name string Required
      • proxy_headers object
      • url string Required
  • 400 application/json

    Generic Error

    Hide response attributes Show response attributes object
    • error string
    • message string
    • statusCode number
POST /api/fleet/proxies
curl \
 --request POST 'http://localhost:5601/api/fleet/proxies' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"certificate":"string","certificate_authorities":"string","certificate_key":"string","id":"string","name":"string","proxy_headers":{},"url":"string"}'