Skip to main content
PUT
/
databases
/
{database_id}
/
resources
Update database resources
curl --request PUT \
  --url https://shardcloud.app/api/databases/{database_id}/resources \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "ram": 123,
  "vcpu": 123
}'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

database_id
string<uuid>
required

Body

application/json
ram
integer
vcpu
integer

Response

Resources updated successfully

message
string
I