Could someone provide me the documentation or api which I can use to scale up the instance immediately

I’m currently using an M20 instance and I wanted to confirm if there’s an API that can trigger an immediate scaling process to upgrade to an M30 instance or to scale down to a smaller instance. I’ve reviewed the available APIs, but the one I found only enables auto-scaling, which is not what I need. Instead, I need an API that can directly initiate a scaling operation immediately without relying on auto-scaling

I tired this but it’s not working

curl --request PUT \
  --url '{GROUP-ID}/clusters/{CLUSTER-NAME}/processTypes/{PROCESS-TYPE}' \
  --header 'Authorization: Basic {YOUR-ATLAS-API-KEY}' \
  --header 'Content-Type: application/json' \
  --data '{
    "providerSettings": {
      "instanceSizeName": "{NEW-INSTANCE-SIZE}"

Hi @Vikas_Rathore and welcome to the MongoDB Community forum!!

The documentation on Update Cluster Configuration would be helpful for the requirements mentioned.
In case of any error observed, please help us with the error message so we could help you further.

Best Regards

1 Like