POST databases/:database_name/rebalance/process
Creates a job to run a rebalance on the database identified by host identified by :database_name
. The :database_name
is the value of the name field that the GET databases command returns.
Returns a job ID that you can use to determine the status of the job. See GET jobs.
Resource URL
https://<NODE>:5444/databases/:database_name/rebalance/process
Authentication
Requires a VerticaAPIKey in the request header.
The API key must have restricted level security or higher.
Parameters
user_id |
A database username. |
passwd |
A password for the username. |
Example Request
POST |
https://<NODE>:5444/databases/testDB/rebalance/process?user_id=username&passwd=username_password |
Response:
{ "id": "RebalanceData-testDB-2014-07-20 21:42:45.731038", "url": "/jobs/RebalanceData-testDB-2014-07-20 21:42:45.731038" }