Install by package by direct upload
Spaces method and path for this operation:
post /s/{space_id}/api/fleet/epm/packages
Refer to Spaces for more information.
Query parameters
-
avoid erroring out on unexpected mapping update errors
Default value is
false. -
Skip data stream rollover during index template mapping or settings update
Default value is
false.
application/gzip
POST
/api/fleet/epm/packages
cURL (application/gzip)
curl \
--request POST 'https://localhost:5601/api/fleet/epm/packages' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/gzip" \
--header "kbn-xsrf: string" \
--data-binary '@file'
curl \
--request POST 'https://localhost:5601/api/fleet/epm/packages' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/zip" \
--header "kbn-xsrf: string" \
--data-binary '@file'