Enable processes after relocation
For more details, see Default configurations for relocated devices.
Enable processes for a specific device
Enables monitoring, scheduled analysis, and syslog messaging on a specific device after relocation from a Remote Agent
Resource Name: /api/v1/device/relocation/enableDevices
Request Method: PUT
Request URL Parameters:
Element |
Type |
Description |
---|---|---|
treeNames Mandatory |
String |
One or more treeNames Separate multiple values with commas. |
Response:
Code |
Description |
---|---|
200 |
Operation completed successfully |
400 |
Bad request |
401 |
Unauthorized |
Request example
curl -X PUT "https://10.20.7.20/afa/api/v1/device/relocation/enableDevices" -H "accept: */*" -H "Content-Type: application/json" -d "[ \"10.20.150.1_Lion_New_Lion_New_secure\",\"10.20.150.1_Lion_New_Lion_New_management\"]"
Enable processes for all devices on a Remote Agent
Enables monitoring, scheduled analysis, and syslog messaging on all devices managed by a specific Remote Agent, after relocating from a different Remote Agent.
Resource Name: /api/v1/device/relocation/enableDevicesOnRemoteAgent
Request Method: PUT
Request URL Parameters:
Element |
Type |
Description |
---|---|---|
node Mandatory |
String |
Name of the node on which you want to enable processes, as listed on the Architecture tab of the AFAAdministration area. |
Response:
Code |
Description |
---|---|
200 |
Operation completed successfully |
400 |
Bad request |
401 |
Unauthorized |
Request example:
curl -X PUT "https://10.20.7.20/afa/api/v1/device/relocation/enableDevicesOnRemoteAgent?node=RA1" -H "accept: */*"