Deletes an user from the authenticated organization.
Request
- HTTP Verb: DELETE
- URI: /user/{id}
Query Parameters
- id: user identifier. It could be either user id, user email or member_id.
Request example
$API->deleteUser('adrian.perez@wcea.education');
Output Example
array( "id" => 1, "email" => "adrian.perez@wcea.education", "member_id" => "x_123", "name" => "Adrián", "surname" => "Pérez", "title" => "Mr", "suffix" => "PhD", "country" => "Spain", "region" => "Andalucía", "licensing_region" => "Andalucía", "city" => "Marbella", "company" => "WCEA" )