cURL
curl --request POST \ --url https://console.cloud.timescale.com/public/api/v1/projects/{project_id}/services/{service_id}/resize \ --header 'Content-Type: application/json' \ --data ' { "cpu_millis": 1000, "memory_gbs": 4, "nodes": 2 } '
{ "code": "<string>", "message": "<string>" }
Changes the CPU and memory allocation for a specific service within a project.
The unique identifier of the project.
"rp1pz7uyae"
The unique identifier of the service.
"d1k5vk7hf2"
The new CPU allocation in milli-cores (e.g., 1000 for 1 vCPU).
1000
The new memory allocation in gigabytes.
4
The new number of nodes in the replica set.
2
Resize request has been accepted and is in progress.
Was this page helpful?