Turn on auto-renew for every service

Turns auto-renew on for every active and suspended service of the account that has it off and is not locked, paying each suspended one's renewal at once. When the balance and a saved card cannot cover those renewals together, nothing is turned on or charged. service_type with service_id limits it to that one service.

POST
/balance/auto-renew/enable-all

Authorization

BearerToken
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/balance/auto-renew/enable-all" \  -H "Content-Type: application/json" \  -d '{}'
{  "paid_amount": 0,  "paid_amount_with_vat": 0,  "missing_amount": 0,  "renewal_amount": 0,  "suspended_count": 0}