Function   /settings/autorenew/set

Function invocation

Function description

It sets default autorenewal setting for registered domains, hostings or futures.

Input parameters

This function takes the following input parameters:

ParameterTypeRequiredDefault valueDescription
type string 'domain' Autorewew type (one of 'domain', 'hosting', 'future')
autorenewDays integer 0 Days before expires to start autorenewal (one of 0, 1, 2, 3, 5, 7, 10, 15, 20, 25, 30, if 0 then this setting will not be changed)
enabled boolean YES Autorenew is enabled
blocked boolean false Autorenewal is temporary blocked

Return value

Operation result (boolean value).