SmartApps
Update an App's Settings
Changed onUpdate the settings for an app.
put/smartapps/{appNameOrId}/settings
Request
- Base URLhttps://api.smartthings.com/v1
- AuthOAuth 2Implicithttps://auth-global.api.smartthings.comScopesw:smartapps
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
appNameOrIdstring required
The appName or appId field of an app.
Headers
Authorizationstring string required
OAuth token
Request body
Example request
{
"settings": {
"mySecretData": "6c21f9ee-7634-413f-89f7-bdfdce88bf0e"
}
}Response
An app settings model.
Example response
{
"settings": {
"mySecretData": "6c21f9ee-7634-413f-89f7-bdfdce88bf0e"
}
}Changes
- info
endpoint added
- info