Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Set a Script Bundle as the Default Script Bundle

 

Use this API to set a script bundle as the default script bundle in Junos Space Service Now.

URI

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

URI Parameters

Parameter

Type

Required

Description

id

Integer

Yes

ID of the script bundle to be set as default

Consumes

None

Produces

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

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

Response Elements

Element

Type

Description

msg

String

Status message of the set as the default script bundle job

Sample Output

Sample XML Output

Sample JSON Output