Updating an Element Instance Configuration via API

Updating an instance configuration can be done in the Cloud Elements UI, as well as via API. 

In the example below, the instance is currently set to pass through null values, but the user would like to filter out null values.

  1. Get the instance configuration; this will be an array of configurations. Find the ID of the configuration with the name "Filter null values from the response".

    curl -X GET "https://staging.cloud-elements.com/elements/api-v2/instances/184649/configuration" -H "accept: application/json" -H "Authorization: User <>, Organization<>"
  2. Update the configuration for the instance, note that you will need the instance ID and configuration ID for the path and need to pass in the value you are changing. In this case, I want to update propertyValue to be true (filtering nulls instead of passing them through).

    curl -X PATCH "https://staging.cloud-elements.com/elements/api-v2/instances/184649/configuration/28645" -H "accept: application/json" -H "Authorization: User <>, Organization <>" -H "Content-Type: application/json" -d " { \"propertyValue\": \"true\" }"