Remove a VPS disk limit
DELETE /api/v2/vps/{id}/disk-throttle
Lift the disk speed limit that was set on the VPS because of heavy disk use. The disks get their normal speed back. The limit is set again if the heavy use goes on. Read diskThrottle on GET /api/v2/vps/{id}/details first. The third write limit within 30 days cannot be removed here (diskThrottle.removableByCustomer is false). The call then answers 403 disk_throttle_requires_support. Support lifts it after a review. A VPS without a limit also answers 200, with alreadyRemoved: true. A 502 means the disk settings could not be restored. The limit is still in place and you can try again.
Authentication: An API key with the scope write:vm. About keys and scopes
Request
Path parameters
idstringrequiredvps_…).Example
curl -X DELETE "https://cloud.hostup.se/api/v2/vps/vps_01hxa3b4c5d6e7f8g9h0j1k2m3/disk-throttle" \ -H "Authorization: Bearer $HOSTUP_API_KEY"Responses
200 Limit removed. Also returned when there was none.
{ "removed": true}Response fields
removedbooleanalreadyRemovedbooleanErrors
Errors are Problem Details with a stable code. Branch on the code, not on the text.
| 400 | Invalid request. The response body is an RFC 7807 Problem Details document. |
| 401 | Unauthorized. Authentication is required. |
| 403 | The limit is the third write limit within 30 days. Support lifts it after a review. |
| 404 | Not found. The resource does not exist or is not owned by the caller; code is vps_not_found. |
| 409 | The limit changed while it was being removed. Read the current state and try again. |
| 429 | Rate limited. Retry after the limit resets. 429 responses include Retry-After seconds plus X-RateLimit-* headers. |
| 500 | Internal error. Retry later or contact support if the issue persists. |
| 502 | The disk settings could not be restored. The limit is still in place. Try again in a few minutes. |