Skip to content

End a web hosting pause

DELETE /api/v2/shared-hosting/{accountId}/actions/pause

End a running pause of a web hosting account early or cancel one that has not started yet. A pause that has started is lifted and the account is turned back on. For a pause that has not started, the account’s renewal date and automatic renewal are set back to what they were before the pause. The yearly pause stays used. The next pause is possible 12 months after this one was requested. No pause on the account returns 400 invalid_request. A scheduled plan change on the account returns 409 scheduled_change_in_progress. Contacts cannot manage pauses.

Authentication: An API key with the scopes write:billing and write:services. About keys and scopes

Request

Path parameters

accountIdstringrequired
The web hosting account ID (acct_…).

Example

DELETE /api/v2/shared-hosting/{accountId}/actions/pause
curl -X DELETE "https://cloud.hostup.se/api/v2/shared-hosting/acct_01hxa3b4c5d6e7f8g9h0j1k2m3/actions/pause" \
-H "Authorization: Bearer $HOSTUP_API_KEY"

Responses

204 The pause has ended or was cancelled.

Errors

Errors are Problem Details with a stable code. Branch on the code, not on the text.

400Invalid request. The response body is an RFC 7807 Problem Details document.
401Unauthorized. Authentication is required.
403Forbidden. The caller lacks a required scope or does not own the resource.
404Not found. The resource does not exist or is not owned by the caller; code is shared_hosting_not_found.
429Rate limited. Retry after the limit resets. 429 responses include Retry-After seconds plus X-RateLimit-* headers.
500Internal error. Retry later or contact support if the issue persists.