Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Delete a Device Group

 

Use this API to delete a specified device group from Junos Space Service Now.

URI

https://[host]/api/juniper/servicenow/device-group-management/deviceGroup/{id} (HTTP method = DELETE)

URI Parameters

Parameter

Type

Required

Description

id

Integer

Yes

ID of the device group to be deleted

Consumes

None

Produces

  • application/vnd.juniper.servicenow.device-group-management.servicenowmsg+xml;version=1

  • application/vnd.juniper.servicenow.device-group-management.servicenowmsg+json;version=1

Response Elements

Element

Type

Description

msg

String

Status message of the delete device group job

Sample Output

Sample XML Output

Sample JSON Output

Response Status Code

Message

Description

404 Not Found

Invalid device group ID specified.