Create an installation package. This is an async call that returns the distribution ID; it does not mean that the creation succeeded. To confirm the package has been created, check the status of the distribution by running the Get Distribution Status API.
Required license: Cortex XDR Prevent or Cortex XDR Pro per Endpoint
request_dataObjectrequired
nameString
The name of the installation package.
platformString (Enum)
Installation platform.
package_typeString
A string representing the type of package to create. Each JSON object must contain one of the following keywords:
- standalone
: Installation for a new agent. When using this, you must include the platform
field with one of the following values: windows
, linux
, macos
, android
.
- upgrade
: Upgrade of an agent from ESM. When using this, you must include the agent_version
field with one of the following values: windows_version
, linux_version
, or macos_version
.
agent_versionString (Enum)
(Not required for Android platform)
{
"request_data": {
"name": "<installation package name>",
"platform": "windows",
"package_type": "standalone",
"agent_version": "windows_version"
}
}
curl -X 'POST'
-H
'Accept: application/json'
-H
'Content-Type: application/json'
'https://api-yourfqdn/public_api/v1/distributions/create'
-d
''