Skip to main content
POST

Authorizations

X-Aegister-Token
string
header
required

Path Parameters

id
integer
required

Body

application/json
net
string

One address, a v4 /24 or a v6 /64.

action
enum<string>
Available options:
block,
allow
reason
string
hours
integer

Block only: how long it lasts (1-2160). Absent = until removed.

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