Delete agent installation packages

Cortex XDR REST API

post /public_api/v1/distributions/delete

Delete an agent installation package. The distribution ID is required and can be found in the Create distributions API response or in the Agent Installations screen in the Cortex Console.

**Note: ** Once you delete an installation package, it prevents new agents using the package, including VDI, from registering.

Required license: Cortex XDR Prevent or Cortex XDR Pro per Endpoint

Request headers
Authorization
String
required
{api_key}
Example: authorization_example
x-xdr-auth-id
String
required
{api_key_id}
Example: xXdrAuthId_example
Body parameters
request_dataObject
distribution_idString

Installation package distribution ID.

REQUEST BODY
{ "request_data": { "distribution_id": "36ffe3f7ab7c4e7188e27d633ea72c3d" } }
CURL
curl -X 'POST'
-H 'Accept: application/json'
-H 'Content-Type: application/json'
-H 'Authorization: authorization_example' -H 'x-xdr-auth-id: xXdrAuthId_example'
'https://api-yourfqdn/public_api/v1/distributions/delete'
-d ''
Responses

OK

Body
replyBoolean

Whether the deletion was successful.

RESPONSE
{ "reply": true }