This method allows an admin user to modify any user that has status 'pending' or 'active'. This modification is performed by submitting the user's email plus one or more additional fields that need to be changed.
This method does not currently check to see that the new data you are submitting is actually any different to the existing data. It assumes all new data is valid even if it is not actually new.
This method does not currently verify that the data has gone into the database. If needed, you can verify the update yourself by using get or get_pending as appropriate.
| Required Arguments | |
|---|---|
| user_email | For authentication |
| user_password | For authentication |
| Email address of the user you want to modify | |
| Optional Arguments (one or more must be provided) | |
|---|---|
| name | Name of user |
| password | Password of user |
| company | Company |
| tel | Telephone number |
| web_address | Web address |
| about | Additional information about user |
| notify | '0' to turn email notifications off for this user, '1' to turn them back on |
http://api.ives.info/rest/users/modify?user_email=user@domain.com&user_password=fak3passw0rd&email=dave@yahoo.com&name=David%20Davies
Errors will be returned in the form of an error document.
Sample XML Output<?xml version="1.0" encoding="UTF-8"?> <response status="ok"> <message>User 'dave@yahoo.com' modified</message> </response>