Rules
Delete a Rule
Delete a Rule from a user's SmartThings account.
delete/rules/{ruleId}
Request
- Base URLhttps://api.smartthings.com/v1
- AuthOAuth 2Implicithttps://auth-global.api.smartthings.comScopesw:rules:*
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
locationIdstring ^(?:([0-9a-fA-F]{32})|([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 Location that contains the Rule.
Response
Successfully deleted
Changes
No recorded changes to this operation across all 8 revisions of this API.