v24

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-19169310464.0 KB
Profiles

Create a new device profile

post/profiles

Request body

$schemastring uri

A URL to the JSON Schema for this object.

namestring required

Profile name

Example request

{
  "$schema": "https://example.com/schemas/CreateProfileInputBody.json",
  "spec": {
    "$schema": "https://example.com/schemas/DeviceSpec.json",
    "location": {
      "$schema": "https://example.com/schemas/Location.json"
    }
  }
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

createdAtstring date-time required
idstring required
namestring required
updatedAtstring date-time required
userIdstring required

Example response

{
  "$schema": "https://example.com/schemas/Profile.json",
  "spec": {
    "$schema": "https://example.com/schemas/DeviceSpec.json",
    "location": {
      "$schema": "https://example.com/schemas/Location.json"
    }
  }
}