Coordinate
PUT /services/coordinate/locations/{locationId}/subscriptions/{subscriptionId}
Update a subscription
Request
- Base URLhttps://api.smartthings.com/v1
- AuthOAuth 2Implicithttps://auth-global.api.smartthings.comScopesr:locations:*, mobile
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
locationIdstring required
A unique location identifier. This is not guaranteed to be a valid UUID.
subscriptionIdstring ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ required
The ID of the subscription
Headers
Authorizationstring string required
OAuth token
Request body
Example request
{
"capabilities": [
"weather",
"forecast",
"airQuality",
"airQualityForecast"
],
"isaId": "d61126ba-a485-4c6d-8ec4-0d41f5f2757c",
"type": "EXECUTION",
"predicate": "now.weather.temperature.value > 20 && now.airQuality.o2Index.value > 1"
}Response
Success
Changes
No recorded changes to this operation across all 8 revisions of this API.