/clusters/{clusterName}/services/{serviceName}/roleCommands/zooKeeperCleanup
Mount Point: /api/v17/clusters/{clusterName}/services/{serviceName}/roleCommands/zooKeeperCleanup
POST
Cleanup a list of ZooKeeper server roles.
This command removes snapshots and transaction log files kept by ZooKeeper for backup purposes. Refer to the ZooKeeper documentation for more details.
Parameters
| name | description | type | default |
|---|---|---|---|
| serviceName | (no documentation provided) | path | |
| clusterName | (no documentation provided) | path |
Request Body
| element: | roleNames |
The names of the roles.
Response Body
| element: | bulkCommandList |
A list of submitted commands.