Delete a package policy
Delete a package policy by ID.
Query parameters
-
force boolean
DELETE
/api/fleet/package_policies/{packagePolicyId}
curl \
-X DELETE https://localhost:5601/api/fleet/package_policies/{packagePolicyId} \
-H "kbn-xsrf: true"
Response examples (200)
{
"id": "string"
}
Response examples (400)
{
"error": "string",
"message": "string",
"statusCode": 42.0
}