Navigation
Table of Contents
Guide That Contains This Content
[+] Expand All
[-] Collapse All
Delete a Device from Service Now
Use this API to delete a specific device from Junos Space Service Now.
![]() | Note: You can delete only one device at a time by using this API. |
URI
https://[host]/api/juniper/servicenow/device-management/devices/{id} (HTTP method = DELETE)
URI Parameters
Parameter | Type | Required | Description |
---|---|---|---|
id | Integer | Yes | ID of the device to be deleted. |
Produces
- application/vnd.juniper.servicenow.device-management.servicenowmsg+xml;version=1
- application/vnd.juniper.servicenow.device-management.servicenowmsg+json;version=1
Response Elements
Element | Type | Description |
---|---|---|
servicenowmsg | msg | Service Now message object |
msg | String | Message indicating the result of the associate a device with a device group job |
Sample Output
Sample XML Output
<servicenowmsg> <msg>Device successfully deleted</msg> </servicenowmsg>
Sample JSON Output
{ "servicenowmsg": { "msg": "Device successfully deleted" } }