Generate Agent Deployment Scripts
post/agentdeploymentscripts
Generate agent deployment scripts by platform.
Java
AgentDeploymentScriptsApi.generateAgentDeploymentScript([param1, param2, ...])
Python
AgentDeploymentScriptsApi.generate_agent_deployment_script([param1, param2, ...])
JavaScript
AgentDeploymentScriptsApi.generateAgentDeploymentScript([param1, param2, ...])
SecurityTrend_Micro_Cloud_One_API_Key or Legacy_API_Key
Request
header Parameters
Request Body schema: application/json
The platform type and activation details for the agent.
Responses
200
successful operation
403
Not authorized to retrieve agent deployment scripts.
Request samples
- Payload
- Java
- Python
- JavaScript
application/json
{- "platform": "linux",
- "validateCertificateRequired": true,
- "validateDigitalSignatureRequired": true,
- "activationRequired": true,
- "dsmProxyID": 0,
- "dsmProxyIsSG": true,
- "relayProxyID": 0,
- "relayProxyIsSG": true,
- "policyID": 0,
- "relayGroupID": 0,
- "computerGroupID": 0
}
Response samples
- 200
application/json
{- "platform": "linux",
- "validateCertificateRequired": true,
- "validateDigitalSignatureRequired": true,
- "activationRequired": true,
- "dsmProxyID": 0,
- "dsmProxyIsSG": true,
- "relayProxyID": 0,
- "relayProxyIsSG": true,
- "policyID": 0,
- "relayGroupID": 0,
- "computerGroupID": 0,
- "scriptBody": "string"
}