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 a Script Bundle

    Use this API to delete a script bundle from Junos Space Service Now.

    URI

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

    URI Parameters

    Parameter

    Type

    Required

    Description

    id

    Integer

    Yes

    ID of the script bundle to be deleted

    Consumes

    None

    Produces

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

    Response Elements

    Element

    Type

    Description

    msg

    String

    Status message of the delete script bundle job

    Sample Output

    Sample XML Output

    <servicenowmsg>
    <msg>Bundle with ID=39389 deleted Successfully</msg>
    </servicenowmsg>
    
    

    Sample JSON Output

    {
      "servicenowmsg": { "msg": "Bundle with ID=39389 deleted Successfully" }
    }
    

    Modified: 2016-08-10