[[osquery-manager-packs-api-delete]] === Delete pack API ++++ Delete pack ++++ .New API Reference [sidebar] -- For the most up-to-date API details, refer to {api-kibana}/group/endpoint-security-osquery-api[Osquery APIs]. -- experimental[] Delete packs. WARNING: Once you delete a pack, _it cannot be recovered_. [[osquery-manager-packs-api-delete-request]] ==== Request `DELETE :/api/osquery/packs/` `DELETE :/s//api/osquery/packs/` [[osquery-manager-packs-api-delete-path-params]] ==== Path parameters `space_id`:: (Optional, string) The space identifier. When `space_id` is not provided in the URL, the default space is used. `id`:: (Required, string) The ID of the pack you want to delete. [[osquery-manager-packs-api-delete-response-codes]] ==== Response code `200`:: Indicates that the pack is deleted. Returns an empty response body. [[osquery-manager-packs-api-delete-example]] ==== Example Delete a pack object with the `bbe5b070-0c51-11ed-b0f8-ad31b008e832` ID: [source,sh] -------------------------------------------------- $ curl -X DELETE api/osquery/packs/bbe5b070-0c51-11ed-b0f8-ad31b008e832 -------------------------------------------------- // KIBANA