External agent deployment configuration
Configure deployments for an external agent on the system.
Request
Security
| Any | Super User | System Admin | Security Admin | Operator |
|---|---|---|---|---|
| superUser | systemAdmin |
HTTP method
POST /manager/api/{apiResponseType}/1.0/editSystemExternalAgentDeploymentConfiguration.adm
HTTP/1.1 Host: {manager.dsnet} id={long} global={enable|disable|remove}
regionMap[string]={enable|disable|remove} [regionMap[string]={enable|disable|remove}]
siteMap[string]={enable|disable|remove} [siteMap[string]={enable|disable|remove}]
deviceMap[string]={enable|disable|remove} [deviceMap[string]={enable|disable|remove}]
Curl method
curl -u {admin}:{password}
-k 'https://{manager.dsnet}/manager/api/{apiResponseType}/1.0/editSystemExternalAgentDeploymentConfiguration.adm'
-d 'id={long}&global={enable|disable|remove}
®ionMap[string]={enable|disable|remove}[®ionMap[string]={enable|disable|remove}]
&siteMap[string]={enable|disable|remove}[&siteMap[string]={enable|disable|remove}]
&deviceMap[string]={enable|disable|remove}[&deviceMap[string]={enable|disable|remove}]'
Request parameters
| Parameter | Type | Usage | Default | Description |
|---|---|---|---|---|
| id | Long | Required |
The ID of the external agent |
|
| global | String | Optional |
Indicates the specified configuration should be deployed globally. If not already deployed globally, selecting enable or disable will deploy the agent globally as enabled or disabled. |
|
| regionMap | Map | Optional |
Map of region IDs to action, to either enable, disable, or remove. If the region is not deployed, selecting enable or disable will deploy the region as enabled or disabled. |
|
| siteMap | Map | Optional |
Map of site IDs to action, to either enable, disable, or remove. If the site is not deployed, selecting enable or disable will deploy the site as enabled or disabled. |
|
| deviceMap | Map | Optional |
Map of device IDs to action, to either enable, disable, or remove. If the device is not deployed, selecting enable or disable will deploy the device as enabled or disabled. |
Response
Returns success or failure status.
JSON response example
Default JSON success or failure response that is shown in Default JSON success response and Default JSON failure response.
Parameters
None other than the default response parameters shown in Common response parameters.