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