Preferences
Delete Preference by ID
Changed onDelete a preference by preference ID.
delete/devicepreferences/{preferenceId}
Request
- Base URLhttps://api.smartthings.com/v1
- AuthOAuth 2Implicithttps://auth-global.api.smartthings.comScopesservice:duplo:customcapability
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-ST-Organizationstring ^(?:([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}))$
Organization id. If not provided, default user organization will be used.
Response
Preference deleted
object required
Changes
- info
endpoint added
- info