Network Custom JavaScript settings resources

Get Custom JS settings

GET /settings/custom-js

Response

{
  "custom_js_head": "",
  "custom_js_body": ""
}


Update Custom JS settings

PUT /settings/custom-js

Note: If a setting key is omitted the setting is ignored. If the value for a setting is set to null the respective setting is reset to its default value.

Parameter Type Default Description
custom_js_head string - URL to a valid javascript source file.
custom_js_body string - URL to a valid javascript source file.

Response

{
  "custom_js_head": "",
  "custom_js_body": ""
}