Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Delete Device Snapshot by Device Snapshot ID

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

    URI

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

    URI Parameters

    Parameter

    Type

    Required

    Description

    id

    Integer

    Yes

    ID of the device snapshot to be deleted.

    Consumes

    None

    Produces

    • application/vnd.juniper.servicenow.devicesnapshot-management.ServiceNowMsg+xml;version=1
    • application/vnd.juniper.servicenow.devicesnapshot-management.ServiceNowMsg+json;version=1

    URI Parameters

    Parameter

    Type

    Description

    msg

    String

    Status message of the delete device snapshot job

    Sample Output

    Sample XML Output

    <servicenowmsg>
         <msg> Device Snapshot deleted successfully </msg>
    </servicenowmsg>
    

    Sample JSON Output

    servicenowmsg:{
            msg: 'Device Snapshot deleted successfully'
        }
    

    Response Status Code

    Message

    Description

    404 Not Found

    Invalid JMB ID specified.

    Modified: 2016-08-11