Venue ID API: User Methods: approve

Purpose

This method allows an authenticated admin user to approve a user that has a pending status. Once approved, the user will become 'active' rather than 'pending'.

This method verifies that the status modification was successful, so it should not be necessary to use other methods to perform verification.

URLs

Live: http://api.ives.info/rest/users/approve

Input

Required Arguments
user_email For authentication
user_password For authentication
email Email address of the user you want to approve

Sample Request
http://api.ives.info/rest/users/approve?user_email=user@domain.com&user_password=fak3passw0rd&email=dave@yahoo.com

Output

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' approved</message>
</response>