Skip to main content
PUT
Change a restricted page, or switch it between test and enforced

Authorizations

X-Aegister-Token
string
header
required

Path Parameters

id
integer
required
path_id
integer
required

Body

application/json
mode
enum<string>
Available options:
test,
enforced
label
string
prefixes
string[]
exceptions
string[]
allowed
string[]
countries
string[]

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