POST
/
tenants
/
{tenantName}
/
rebalance
curl --request POST \
  --url https://dev.startree.ai/tenants/{tenantName}/rebalance \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: */*' \
  --data '{
  "degreeOfParallelism": 1,
  "verboseResult": true,
  "parallelWhitelist": [
    "<string>"
  ],
  "parallelBlacklist": [
    "<string>"
  ],
  "tenantName": "<string>",
  "minAvailableReplicas": 1,
  "heartbeatIntervalInMs": 300000,
  "heartbeatTimeoutInMs": 3600000,
  "retryInitialDelayInMs": 300000,
  "externalViewStabilizationTimeoutInMs": 3600000,
  "reassignInstances": false,
  "includeConsuming": false,
  "lowDiskMode": false,
  "bestEfforts": false,
  "updateTargetTier": false,
  "maxAttempts": 3,
  "externalViewCheckIntervalInMs": 1000,
  "dryRun": false,
  "preChecks": false,
  "bootstrap": false,
  "downtime": false
}'
{
  "rebalanceTableResults": {},
  "jobId": "<string>"
}

Authorizations

Authorization
string
header
required

The format of the key is "Basic <token>" or "Bearer <token>"

Path Parameters

tenantName
string
required

Name of the tenant whose table are to be rebalanced

Body

*/*

Response

200 - application/json

successful operation

The response is of type object.