Configure Block program updates the configurations for an installed module and instance.

/runtime/blocks/{instanceId}/config/set:
    post:
      tags:
      - "runtime"
      description: "Configure block: Update configurations for an installed module and instance"
      operationId: "configureBlock"
      produces:
      - "application/json"
      parameters:
      - in: "path"
        name: "instanceId"
        description: "UUID of the instantiated DCF block"
        required: true
        type: "string"
      - in: body
        name: payload
        required: true
        schema:
          type: string
      responses:
        200:
          description: "Success"
        400:
          description: "Invalid Request"
        500:
          description: "Exception: In updating module answers for the block"
Example:
Request : curl -k --user admin:changeme --request POST --url https://127.0.0.1:8443/dcc/v1/runtime/blocks/smarts-metrics70d9afac-516a-47f5-b38f-799fa530d55c/config/set --header 'content-type: application/json' --data '{
	  "smarts-metrics": {
		"primary": {
		  "collect": {
			"sm": [
			  {
				"host": "localhost",
				"port": "12345",
				"name": "INCHARGE-AM-PM",
				"username": "admin",
				"password": "{544756F82CDB79957BC6004EA85A6F97CA541AE9AB6CDF4F8D1A99BD2D341B6AF8A75F35A5DE5C59651AFF574DBC604E}",
				"type": "both",
				"topologyPollingPeriod": "3600",
				"metricPollingPeriod": "240",
				"backendgroup": "group",
				"thread": {
				  "poolsize": "3"
				},
				"dmconnection": {
				  "poolsize": "3"
				}
			  }
			]
		  }
		},
		"kafka": {
		  "cluster": {
			"node": [
			  {
				"host": "localhost11",
				"port": "9092"
			  }
			],
			"topic": "default-topic",
			"authType": "SASL_PLAINTEXT",
			"username": "admin",
			"password": "{28811D69F2FEEA51A491E8DF763912A5B692517875494C8B524D712CF3576658B1E0ED1CF87F00B0F88E4EFAA487A5D6}"
		  }
		}
	  }
	}'
Response : New configuration successfully set in block: smarts-metricseaea8c69-b12a-4fa6-8389-6ea87dd997c5 for smarts-metrics service