Freeze a subscription
POSThttps://api.evora.lol/api/developer-api/users/{userId}/subscriptions/{appId}/pause
Requires scopeusers:write
Banks the remaining time in remaining_seconds and stops the clock. Requires allow_subscription_pause on the application.
A frozen subscription reports active: false from both authenticate endpoints, matching what the SDK enforces.
Path parameters
| userIdrequired string (uuid) | End-user UUID. |
| appIdrequired string (uuid) | Application UUID. App-scoped keys may only use their own application. |
Responses
200Frozen.
json
{ "success": true, "message": "Subscription paused", "remainingSeconds": 1209600 }
403Freezing is not enabled for this application.
json
{ "error": "Subscription pausing is not enabled for this application", "code": "PAUSE_NOT_ENABLED" }
404No subscription, or already frozen.
More in Subscriptions
Base URL https://api.evora.lol/api/developer-api · full spec at developer-api.yaml · back to the docs