Cancel web hosting or VPS service

Request cancellation of your web hosting or VPS services. You can choose to cancel immediately or at the end of your current billing period, and specify a reason for cancellation.

Domain Services Domains

Context

Used in the dashboard

/ /instance/[id]

Headers

Accept Example
Content-Type Example

Body

required
application/json
accountId string required · Example: 20000
otherReason string · Example: Kund begärde omedelbar uppsägning av webbhotellkonto
reason string · enum required · Example: No longer needed
Customer requested
Found a better alternative
Moving to different provider
No longer needed
Omedelbar uppsägning
Poor performance
Technical issues
other
type string · enum required · Example: End of billing period
End of billing period
Immediate

Responses

200
data object required
data.info array<string> required · Example: ["Cancelation request submitted"]
data.message string required · Example: Cancellation request submitted successfully

Human-readable message.

data.success boolean required · Example: true

True for successful responses.

requestId string required · Example: 2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba

Unique request identifier (UUID).

success boolean required · Example: true

True for successful responses.

timestamp string required · Example: 2026-02-10T00:00:00.000Z

ISO 8601 timestamp (UTC).

400
code string required · Example: BAD_REQUEST

Machine-readable error code.

error string required · Example: Bad Request

HTTP status title (e.g. 'Bad Request').

message string required · Example: Invalid cancellation type. Must be "Immediate" or "End of billing period"

Human-readable message.

requestId string required · Example: 2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba

Unique request identifier (UUID).

timestamp string required · Example: 2026-02-10T00:00:00.000Z

ISO 8601 timestamp (UTC).

404
code string required · Example: NOT_FOUND

Machine-readable error code.

error string required · Example: Not Found

HTTP status title (e.g. 'Bad Request').

message string required · Example: Service not found not found

Human-readable message.

requestId string required · Example: 2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba

Unique request identifier (UUID).

timestamp string required · Example: 2026-02-10T00:00:00.000Z

ISO 8601 timestamp (UTC).

POST https://cloud.hostup.se/api/cancel-hosting
For AI assistants
cURL
curl -X POST "https://cloud.hostup.se/api/cancel-hosting" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "accountId": "20000",
    "type": "End of billing period",
    "reason": "No longer needed"
  }'
Response
{
  "success": true,
  "timestamp": "2026-02-10T00:00:00.000Z",
  "requestId": "2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba",
  "data": {
    "success": true,
    "message": "Cancellation request submitted successfully",
    "info": [
      "Cancelation request submitted"
    ]
  }
}
Request Body End of billing period
{
  "accountId": "20000",
  "type": "End of billing period",
  "reason": "No longer needed"
}