POST
/
site
/
manual
/
create
curl --request POST \
  --url https://{appDomain}/site/manual/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "site_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "site_name": "<string>",
  "hardware_hash": "<string>",
  "runbook_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "has_pulse": true
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "address": "<string>",
  "has_pulse": true,
  "uptime": "2 days, 5 hours, 10 minutes",
  "architecture_name": "<string>",
  "hardware_hash": "<string>",
  "serial_number": "<string>",
  "software_version": "<string>",
  "software_id": "<string>",
  "identity": "<string>",
  "last_seen_from": "127.0.0.1",
  "model": "<string>",
  "board_name": "<string>",
  "routerboard": true,
  "last_seen": "5 minutes ago",
  "last_seen_at": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "deleted_at": "2023-11-07T05:31:56Z",
  "scheduler_removal": "in 1 day"
}

Authorizations

Authorization
string
header
required

Standard JWT token obtained via a separate authentication process. Required for most user-facing API endpoints.

Body

application/json

Response

201
application/json

Site created successfully. Returns the created site resource.

The response is of type object.