Databases

Change a database's CPU/memory limits within the plan and the organization's total caps; a running database restarts to apply them

post/databases/{databaseId}/resources

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/databases/{databaseId}/resources
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

databaseIdstring uuid required
Example:3f2b8a4e-5c1d-4e8f-9a7b-2c6d1e0f4a5b

Request body

cpusnumber

vCPU, in steps of 0.25

memoryMbinteger

MB, at least 256

Response

Resized

restartedboolean required

true when the running database was restarted to apply the new limits; false when it was not running (they apply at its next start)

Changes

No recorded changes to this operation across all 1 revision of this API.