🔴 Disable features
After customizing the device with specific features, there may be instances where you need to disable these features. Whether it's to revert to the device's default settings or to adjust to new user preferences, the Features API provides a straightforward method for deactivating selected features.
Endpoint Overview:
- Endpoint:
https://wbsapi.withings.net/v2/device
- Method:
POST
Parameters
To disable a feature, include the following in your API call:
action
: Must take the valuedisablefeature
.client_id
: Your unique identifier as provided by Withings.signature
: A generated signature for request authentication.nonce
: A unique number generated for each request to ensure security.feature_name
: The name of the feature you wish to disable.userid
: The ID of the user associated with the device.model
: The model of the device you're targeting, e.g., "Body Pro 2 = 17".
Example Request
If you wish to disable the Eyes Closed Mode for a specific user:
{
"action": "disablefeature",
"client_id": "YourClientID",
"signature": "YourSignature",
"nonce": "YourNonce",
"feature_name": "feature_eyes_closed_mode",
"userid": "UserID",
"model": 17
}
This API call deactivates the Eyes Closed Mode for the given user, reverting to showing the weight during measurements.
Response from the API
{
"status": 0,
"body": {}
}