Create preset
POST /rules/presets
POST
/rules/presets
Creates a new preset with the provided details.
Request Body required
object
id
integer
destination
required
string
note
string
preset
required
string
ips
Array<string>
Responses
200
Successful creation of preset
object
data
object
rule_id
integer
success
boolean
400
Bad request (e.g., invalid input)
object
success
boolean
message
string