Update cloud connector Technical Preview

PUT /api/fleet/cloud_connectors/{cloudConnectorId}

[Required authorization] Route required privileges: fleet-agent-policies-all OR integrations-all.

Headers

  • kbn-xsrf string Required

    A required header to protect against CSRF attacks

Path parameters

  • cloudConnectorId string Required
application/json

Body

  • name string

    Minimum length is 1, maximum length is 255.

  • vars object

Responses

  • 200 application/json

    Indicates a successful call.

    Hide response attribute Show response attribute object
    • item object Required

      Additional properties are NOT allowed.

      Hide item attributes Show item attributes object
      • cloudProvider string Required
      • created_at string Required
      • id string Required
      • name string Required
      • namespace string
      • packagePolicyCount number Required
      • updated_at string Required
      • vars object Required

        Additional properties are allowed.

  • 400 application/json

    Indicates a bad request call.

    Hide response attributes Show response attributes object
    • error string
    • errorType string
    • message string Required
    • statusCode number
PUT /api/fleet/cloud_connectors/{cloudConnectorId}
curl \ --request PUT 'https://<KIBANA_URL>/api/fleet/cloud_connectors/{cloudConnectorId}' \ --header "Authorization: $API_KEY" \ --header "Content-Type: application/json" \ --header "kbn-xsrf: true" \ --data '{"name":"string","vars":{}}'