Install Kibana assets for a package
[Required authorization] Route required privileges: ALL of [integrations-all, fleet-agent-policies-all].
Path parameters
-
pkgName
string Required -
pkgVersion
string Required
POST
/api/fleet/epm/packages/{pkgName}/{pkgVersion}/kibana_assets
curl \
--request POST 'http://localhost:5622/api/fleet/epm/packages/{pkgName}/{pkgVersion}/kibana_assets' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--header "kbn-xsrf: true" \
--data '{"force":true,"space_ids":["string"]}'
Request examples
# Headers
kbn-xsrf: true
# Payload
{
"force": true,
"space_ids": [
"string"
]
}
Response examples (200)
{
"success": true
}
Response examples (400)
{
"error": "string",
"errorType": "string",
"message": "string",
"statusCode": 42.0
}