Skip to main content
POST
cURL

Authorizations

X-Avala-Api-Key
string
header
required

API key for authentication. Generate one in Mission Control Settings > Security & Identity.

Body

application/json
name
string
required
Required string length: 1 - 255
type
string
required
Required string length: 1 - 100
status
enum<string>
Available options:
online,
offline,
maintenance
tags
string[]
Required string length: 1 - 100
firmware_version
string | null
Maximum string length: 100
metadata
Metadata · object
last_seen_at
string<date-time> | null

Response

201 - application/json
name
string
required
Required string length: 1 - 255
type
string
required
Required string length: 1 - 100
uid
string<uuid>
read-only
status
enum<string>
Available options:
online,
offline,
maintenance
tags
string[]
Required string length: 1 - 100
firmware_version
string | null
Maximum string length: 100
metadata
Metadata · object
last_seen_at
string<date-time> | null
device_token
string
read-only
Minimum string length: 1
created_at
string<date-time>
read-only
updated_at
string<date-time>
read-only