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