Claiming
Initiate the claiming process for one or more downstream devices simultaneously.
Topic: v1/gateway/claim
{ "Device A": {"secretKey": "secretA", "durationMs": 60000}, "Device B": {"secretKey": "secretB", "durationMs": 60000}}| Field | Required | Description |
|---|---|---|
secretKey | No | Secret key for claiming authorization. Defaults to an empty string. |
durationMs | No | Claiming window in milliseconds. Defaults to the system value of SECURITY_CLAIM_DURATION. |
mosquitto_pub -h "mqtt.eu.thingsboard.cloud" -t "v1/gateway/claim" -u "$ACCESS_TOKEN" -m '{"Device A":{"secretKey":"mySecret","durationMs":60000}}'For a full explanation of the claiming workflow, see Claiming Devices.