Delete a pack

DELETE /api/osquery/packs/{id}

Delete a query pack using the pack ID.

Path parameters

  • id string | null Required

    The ID of the pack you want to run, retrieve, update, or delete.

Responses

  • 200 application/json; Elastic-Api-Version=2023-10-31

    OK

    Additional properties are allowed.

DELETE /api/osquery/packs/{id}
curl \
 --request DELETE https://localhost:5601/api/osquery/packs/3c42c847-eb30-4452-80e0-728584042334 \
 --header "Authorization: $API_KEY"
Response examples (200)
{}