Search
K

Devices

This API handles the Create, Read, Update, and Delete operations for devices within an organization.
Authorization: All requests must be authenticated and authorized by adding a special Header to each request containing the Organization Key (available in https://app.xyte.io/settings/api_keys)
Value
Key
Organization Key
Authorization
get
https://hub.xyte.io/core/v1/organization/devices
post
https://hub.xyte.io/core/v1/organization/devices/claim
patch
https://hub.xyte.io/core/v1/organization/devices/:id
delete
https://hub.xyte.io/core/v1/organization/devices/:id

Error Handling

  • 401 Unauthorized: If the api_key is not provided or is invalid.
  • 403 Forbidden: If the user does not have permission to perform the requested action.
  • 404 Not Found: If a device with the specified ID is not found.
  • 422 Unprocessable Entity: If a required parameter is missing or invalid.