Can't update custom parameters of an automation app

I’m trying to update custom parameters from my lambda function with a PUT to{myAppId}/settings but i get this error message:

“name”: “StatusCodeError”,
“statusCode”: 403,
“message”: “403 - undefined”

Is this related to a permission missing ? How can i add that ? I tried with the Oauth API but “w:apps:*” permission was unknown.

© 2019 SmartThings, Inc. All Rights Reserved. Terms of Use | Privacy Policy

SmartThings; SmartApps®; Physical Graph; Hello, Home; and Hello, Smart Home are all trademarks of the SmartThings, Inc.