Updating Elements

The following example shows how to update a configuration element by submitting a PUT request.

Prerequisite:
  • Create the JSON request body with the updated values.
  1. Use this URL to update a singleton configuration element.
    https://CNSBCIP/config/<version>/<topic>/<configElement>
  2. Use this URL to update a sub-element of a singleton configuration element.
    https://CNSBCIP/config/<version>/<topic>/<configElement>/<subElement>/<subElementKey>
  3. Use this URL to update a multi-instance configuration element.
    https://CNSBCIP/config/<version>/<topic>/<configElement>/<configElementKey>
  4. Use this URL to update a sub-element of a multi-instance configuration element.
    https://CNSBCIP/config/<version>/<topic>/<configElement>/<configElementKey>/<subElement>/<subElementKey>
  5. Use this URL to activate the configuration.
    https://CNSBCIP/config/<version>/activate