Reactivate VPS
Reactivate a cancelled VPS subscription before the expiry date. This creates a new recurring subscription and clears the cancellation, so the VPS continues to renew normally.
Request
POST /api/v1/vps/:id/uncancel
Required scope: vps:provision
Path Parameters
| Parameter |
Type |
Description |
id |
string |
The VPS ID |
Headers
| Header |
Required |
Value |
Authorization |
Yes |
Bearer YOUR_API_KEY |
Response
{
"data": {
"id": "507f1f77bcf86cd799439011",
"name": "Production Server",
"reactivated": true
}
}
Response Fields
| Field |
Type |
Description |
id |
string |
The VPS ID |
name |
string |
The VPS display name |
reactivated |
boolean |
Always true after successful reactivation |
Error Responses
| Status |
Code |
Description |
| 400 |
NOT_CANCELLED |
No cancelled subscription found for this VPS |
| 400 |
UNCANCEL_FAILED |
Failed to reactivate the subscription |
| 403 |
INSUFFICIENT_SCOPE |
API key lacks vps:provision scope |
| 404 |
NOT_FOUND |
VPS not found or you do not have owner access |
Example
curl -X POST https://site.quest/api/v1/vps/507f1f77bcf86cd799439011/uncancel \
-H "Authorization: Bearer sq_live_a94ecfca096d..."
MCP
This action is also available via the uncancel_vm MCP tool.