Create a custom integration
Spaces method and path for this operation:
post /s/{space_id}/api/fleet/epm/custom_integrations
Refer to Spaces for more information.
[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.
POST
/api/fleet/epm/custom_integrations
curl \
--request POST 'https://localhost:5601/api/fleet/epm/custom_integrations' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--header "kbn-xsrf: true" \
--data '{"datasets":[{"name":"string","type":"logs"}],"force":true,"integrationName":"string"}'