Un-manage a Device

Change an ADC device from managed state to un-managed state.

URL: /adc-device-unmanage

Type: PUT

Parameters

Param Type Name Description Field Type
Header sessionId ** Session Id received after login string
Query Gwkey Tenant Key. Needed only in case of multitenant installations string
Query gwsource** Source from which the request is triggered (for exapmle: web, external) String
Payload deviceName** Name of the device(s) to unmanage String[]

** - Mandatory value

Possible Response Message and Code

HTTP Code Description Response Message
202 Accepted State change to unmanage the device has been initiated
403 Forbidden Selected device(s) are in in-progress/un-managed state. Operation cannot be performed.
400 Bad Request The device name is mandatory. Value cannot be null or empty
404 Not Found Device not found

Sample Request/Response

Use Case

Change the state of devices ADC_DEVICE_1 and ADC_DEVICE_2 from managed to unmanaged.

Request URL

http://appviewxapi.com/avxapi/adc-device-unmanage?gwkey=f000ca01&gwsource=external

Request Payload

{

"payload": {

"deviceName": [

"ADC_DEVICE_1",

" ADC_DEVICE_1"

]

}

Response

202 Accepted

{

"response": "State change to unmanage the device has been initiated.",

"message": "State change to unmanage the device has been initiated.",

"appStatusCode": null,

"tags": null,

"headers": null

}