Set instrument information
Change values for the specified instrument. Currently only the Name of the instrument can be modified.
Requires an API key with the instruments:write
scope.
Body
Required
Can pass the whole Instrument object or just an object containing Name
-
Type of instrument
Values are
Noise
,AirQuality
, orVibration
. -
Serial number of the instrument
-
Model of the instrument
-
Friendly name or description of the instrument
-
URL of the image for the instrument
-
Subscription details for this instrument
Additional properties are allowed.
-
Position of the instrument
Additional properties are allowed.
-
Additional features available on this instrument
Values are
SIC
,Modem
, orWeather
.
PUT
/control/instruments/{serial}
curl \
--request PUT 'https://api.mycirrus.cloud/v1/control/instruments/QT123456' \
--header "Content-Type: application/json" \
--data '{"name":"My Quantum"}'
Request example
{
"name": "My Quantum"
}
Response examples (400)
Example 1
{
"error": "MissingParam",
"description": "The required parameter StartTime was missing from the request."
}
{
"error": "NotFound",
"description": "The instrument QT123456 could not be found."
}
Response examples (401)
{
"error": "TokenExpired",
"description": "Your access token is invalid or has expired. Try refreshing the token."
}
Response examples (403)
{
"error": "AccessDenied",
"description": "You do not have permission to access this data."
}