Profiles

Update a device profile

put/profiles/{profileId}

Path parameters

profileIdstring required

Request body

$schemastring uri

A URL to the JSON Schema for this object.

namestring required

Profile name

Example request

{
  "$schema": "https://example.com/schemas/UpdateProfileInputBody.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
createdBystring
idstring required
namestring required
ownerIdstring required
updatedAtstring date-time required
userIdstring required

Deprecated: use ownerId/createdBy.

Example response

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

Changes