Skip to content

Create sensor

POST
/sensors
curl --request POST \
--url https://demo.suricatavel.org/api/v1/sensors \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "fqdn": "example", "ipv4": "example", "dist": "example", "password": "example", "ssh_key": "example" }'
Media typeapplication/json
object
name
string
fqdn
string
ipv4
string
dist
string
password
string
ssh_key
string

Example generated

{
"name": "example",
"fqdn": "example",
"ipv4": "example",
"dist": "example",
"password": "example",
"ssh_key": "example"
}

Host created

Media typeapplication/json
object
id
integer
name
string
fqdn
string
ipv4
string
dist
string
suricata_version
string
is_provisioned
boolean

Example generated

{
"id": 1,
"name": "example",
"fqdn": "example",
"ipv4": "example",
"dist": "example",
"suricata_version": "example",
"is_provisioned": true
}