Skip to main content
POST
/
api
/
license
/
assignDeviceLicense
Assign device license
curl --request POST \
  --url https://api2.rhombussystems.com/api/license/assignDeviceLicense \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '
{
  "deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
  "licenseUuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
'
{
  "deviceLicense": {
    "claimKeyUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "createdOn": "2023-11-07T05:31:56Z",
    "deviceType": "BLE_TRACKER",
    "deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "features": [
      {
        "enabled": true,
        "name": "<string>"
      }
    ],
    "firstAssignedDate": "2023-11-07T05:31:56Z",
    "licenseFamily": "CAMERA",
    "licenseToUnassignEmailState": "INITIAL_EMAIL_SUCCEEDED",
    "licenseType": "STARTER",
    "maxDeleteDate": "2023-11-07T05:31:56Z",
    "orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "priorClaimKeyUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "productCode": "<string>",
    "productType": "DEVICE",
    "state": "CLAIMED",
    "trial": true,
    "updatedOn": "2023-11-07T05:31:56Z",
    "uuid": "AAAAAAAAAAAAAAAAAAAAAA"
  }
}

Authorizations

x-auth-apikey
string
header
required

Your API key for Rhombus.

Headers

x-auth-scheme
string
default:api-token
required

Authentication scheme indicator ("api-token").

Required string length: 9

Body

application/json

Request object for assigning or unassigning a device license.

deviceUuid
string<RUUID> | null

base 64 (url-safe) uuid string

Example:

"AAAAAAAAAAAAAAAAAAAAAA"

licenseUuid
string<RUUID> | null

base 64 (url-safe) uuid string

Example:

"AAAAAAAAAAAAAAAAAAAAAA"

Response

200 - application/json

OK

Response object for assigning or unassigning a device license.

deviceLicense
object

List of device licenses available for the client organization