Unsuspend the service via the WHMCS module hook
POST/services/:id/unsuspend
WhmcsApiClient::moduleUnsuspend is called. In our DB mod_reseller_provisions.status='active' + notice='Unsuspended via API' are set.
Idempotency-Key: OPTIONAL.
Rate limit: Default bucket (60 rpm).
vps_id null: 422 service_not_provisioned.
Body: None.
Side effect: A service.unsuspended event (status='skipped') is written to the webhook queue.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
- 502
Service active again
Response Headers
The per-minute limit defined for this key
Number of requests remaining in the current window
Unix epoch of the start of the next window (UTC seconds)
Authentication failed — missing header, wrong credential, outside the IP whitelist, or a revoked key. No detail is leaked; all cases return a single message.
Response Headers
RFC 7617 Basic Auth challenge
Insufficient authorization — the reseller tried to access another reseller's service_id, or has insufficient scope for an endpoint requiring admin scope. The message is kept generic (ServiceOwnershipMiddleware prevents leakage).
Service not found
VPS not yet provisioned
Per-minute limit exceeded
Response Headers
Seconds to wait before retrying after a 429 (RFC 7231 §7.1.3)
The per-minute limit defined for this key
Unix epoch of the start of the next window (UTC seconds)
WHMCS API upstream error