<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="css/style.css" /> <title>Test Users Deactivate</title> </head> <body> <?php require_once 'test-util.php'; require_once dirname(__FILE__) . '/../lib/ca-main.php'; echo '<div class="apitest">'; echo '<h1>users_deactivate</h1>'; $ca = new CityApi(); $ca->debug = true; $ca->json = true; $results = $ca->users_deactivate(225262, array('reason' => 'Too much grace required.')); echo "<h2>results:</h2>{$results}"; echo '<h2>var_dump results:</h2>'; var_dump($results); echo '<h2>Formatted JSON results: </h2>'; echo '<pre>'; echo format_json($results); echo '</pre>'; echo '</div>'; ?> </body> </html>