Spaces method and path for this operation:
post /s/{space_id}/api/fleet/epm/packages/{pkgName}
Refer to Spaces for more information.
Install the latest version of a package from the Elastic Package Registry.
[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.
Query parameters
-
Default value is
false. -
Default value is
false. -
Skip dependency validation when installing a package with dependencies
Default value is
false.
POST
/api/fleet/epm/packages/{pkgName}
curl \
--request POST 'https://<KIBANA_URL>/api/fleet/epm/packages/{pkgName}' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--header "kbn-xsrf: true" \
--data '{"ignore_constraints":false}'
Request example
Install a package, optionally ignoring constraints
{
"ignore_constraints": false
}
Response examples (200)
Package successfully installed
{
"_meta": {
"install_source": "registry"
},
"items": [
{
"id": "aws-logs-aws.cloudwatch_logs-default",
"type": "index_template"
}
]
}
Response examples (400)
Example of a generic error response
{
"error": "Bad Request",
"message": "An error message describing what went wrong",
"statusCode": 400
}