Centova Technologies Forum

Centova Cast v3 => Feature requests => Topic started by: Headshaker on July 04, 2012, 12:23:46 pm

Title: API- change user/reseller password
Post by: Headshaker on July 04, 2012, 12:23:46 pm
I think it will be usefull to make method to change user/reseller password by API call.

It's normal that changing admin password by API is very risky so just user/reseller should be ok.
Title: Re: API- change user/reseller password
Post by: Centova - Steve B. on July 19, 2012, 10:26:58 pm
You can already do this with the existing API.
Title: Re: API- change user/reseller password
Post by: Headshaker on July 20, 2012, 02:23:27 pm
I'm sorry but I really can't find how to do it in XML API documentation.

http://www.centova.com/docs/cast/CentovaCast%20-%20XML%20API%20Documentation.pdf
Title: Re: API- change user/reseller password
Post by: Centova - Steve B. on July 20, 2012, 04:43:28 pm
Looks like it doesn't explicitly mention it as an option in the API reference but it's valid to pass adminpassword to the reconfigure method just as you can with the provision method.

Make sure you fetch the account with getaccount first, then change the 'adminpassword' field, then pass all the settings back to reconfigure.
Title: Re: API- change user/reseller password
Post by: Headshaker on July 21, 2012, 02:17:24 am
SOLVED :)
Thanks