Disable/enable a single partition

POST /v1/cluster/partitions/{namespace}/{topic}/{partition}

Disable or enable a single partition. To disable, use {'disabled': true} in request body. To enable, use {'disabled': false}.

Path parameters

  • namespace string Required
  • topic string Required
  • partition integer(int64) Required
application/json

Body Required

  • disabled boolean

Responses

  • 200

    Individual partition disabled or enabled successfully

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
}