Disable/enable all partitions of a topic
Disable or enable all partitions of a topic. To disable, use {'disabled': true}
in request body. To enable, use {'disabled': false}
.
POST
/v1/cluster/partitions/{namespace}/{topic}
curl \
--request POST 'http://localhost:9644/v1/cluster/partitions/{namespace}/{topic}' \
--header "Content-Type: application/json" \
--data '{"disabled":true}'
Request examples
{
"disabled": true
}