Function   /domain/redirect/set

Function invocation

https://json.aftermarket.pl/domain/redirect/set

Function description

Set domain redirection settings.

Input parameters

This function takes the following input parameters:

ParameterTypeRequiredDefault valueDescription
domain string "" Domain name (deprecated, please use 'name' parameter)
name string YES Domain name
type string YES Domain redirection type (one of 'none', 'direct', 'indirect', 'ip')
url string "" Redirection address (required for 'direct', 'indirect', 'ip')

Return value

Operation result (boolean value).