Event Gateway Virtual Cluster Produce Policies
Patch Produce Policy for Virtual Cluster
Partially updates an existing produce policy associated with the specified Event Gateway virtual cluster.
patch/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/produce-policies/{policyId}
Request body
Example request
{
"condition": "context.topic.name.endsWith('my_suffix')",
"labels": {
"env": "test"
}
}Response
Updated produce policy object.
Example response
{
"labels": {
"env": "test"
},
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}