is it possible to reset the toggle in the Branding → Universal Login → advanced → Password Rest via an API call
Hi @mrafaquat
Yes it is as documented here. It’s not under the branding API: you need a PATCH call to /api/v2/tenants/settings, with a payload containing a ‘change_password’ object, and this object itself containing an object with an ‘enabled’ key - set it to False if you want to toggle off the option.
Example in Python:
import requests
payload = {
'change_password': {'enabled': False}
}
r = requests.patch(url + '/api/v2/tenants/settings', headers=headers, json=payload).json()
3 Likes
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.