Skip to main content
PUT

Authorizations

X-Aegister-Token
string
header
required

Path Parameters

id
integer
required

Body

application/json
action
enum<string>
Available options:
block,
allow
countries
string[]

ISO 3166-1 alpha-2 codes.

tor
boolean
unknown
boolean
mode
enum<string>
Available options:
test,
enforced

Response

error
integer

Any value different from 0 indicates an error.
More details can be found in messages.

Required range: 0 <= x <= 0
Example:

0

messages
array

If error is 1, contains zero or more details on the error.

Example:
data
object | null

Null when the domain has no country rule.