You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sn...@apache.org on 2015/07/17 17:42:51 UTC

[26/51] [partial] incubator-usergrid git commit: Update for Usergrid 1.0.2 release and remove old /website/publish directory because it is replaced by /content.

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/ec2b3e4f/website/publish/docs/organization/index.html
----------------------------------------------------------------------
diff --git a/website/publish/docs/organization/index.html b/website/publish/docs/organization/index.html
deleted file mode 100644
index 8bc25ea..0000000
--- a/website/publish/docs/organization/index.html
+++ /dev/null
@@ -1,1354 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
-    <meta charset="utf-8">
-    <title>Apache Usergrid (incubating) — Organization</title>
-    <meta http-equiv="x-ua-compatible" content="ie=edge" />
-    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
-    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
-    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
-    <meta property="og:title" content="Apache Usergrid" />
-    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
-    <!-- Loading Typekit -->
-    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
-    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
-    <!-- Loading Bootstrap -->
-    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
-    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
-    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
-    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
-    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
-
-    
-
-    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
-    <!--[if lt IE 9]>
-      <script src="js/html5shiv.js"></script>
-      <script src="js/respond.min.js"></script>
-    <![endif]-->
-</head>
-<body>
-
-    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
-    <div class="container">
-        <div class="navbar-header">
-            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
-                <span class="sr-only">Toggle navigation</span>
-                <span class="icon-bar"></span>
-                <span class="icon-bar"></span>
-                <span class="icon-bar"></span>
-            </button>
-        </div>
-        <a href="/" class="navbar-brand">
-                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
-            </a>
-        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
-            <ul class="nav navbar-nav navbar-right">
-                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
-                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
-                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
-                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
-                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
-                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
-                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
-                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
-                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
-                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
-                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
-            </ul>
-        </nav>
-    </div>
-    </header>
-
-
-
-<div class="container bf-docs-container">    
-    <div class="row">
-        <div class="col-md-3">
-            <div class="bf-sidebar hidden-print" role="complementary">
-                <ul class="nav nav-list">
-                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
-                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
-                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
-
-                    <li class="nav-header"><span>Concepts</span></li>
-                    <li>
-                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
-                        <ul>
-                            <li>
-                                <a href="/docs/applications/">Applications</a>
-                                <ul>
-                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
-                                    <!--<li><a href="#">Queues</a></li>-->
-                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
-                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
-                                    <li>
-                                        <a href="/docs/collections">Collections</a>
-                                        <ul>
-                                            <li><a href="/docs/query-language/">Query Language</a></li>
-                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
-                                            <li><a href="/docs/groups/">Groups</a></li>
-                                            <li><a href="/docs/activities/">Activities</a></li>
-                                            <li><a href="/docs/assets/">Assets</a></li>
-                                        </ul>
-                                    </li>
-                                </ul>
-                            </li>
-                        </ul>
-                    </li>
-
-
-                    <li class="nav-header"><span>Usage</span></li>
-                    <!-- <li>REST API — Coming Soon</li> -->
-                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
-                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
-                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
-                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
-                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
-                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
-                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
-                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
-                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
-
-                    <!--<li class="nav-header"><span>Internals</span></li>
-                    <li>Design & Goals — Coming Soon</li>
-                    <li>Java Architecture — Coming Soon</li>
-                    <li>Cassandra Schema — Coming Soon</li>-->
-
-                    <li class="nav-header"><span>Operations</span></li>
-                    <!--<li>Deploying — Coming Soon</li>-->
-                    <!-- <li>Monitoring — Coming Soon</li> -->
-                    <li><a href="/docs/upgrading/">Upgrading</a></li>
-                    <!-- <li>Security — Coming Soon</li> -->
-
-                    <li class="nav-header"><span>Presentations & Videos</span></li>
-                    <li><a href="/docs/presentations/">Presentations</a></li>
-                    <li><a href="/docs/videos/">Videos</a></li>
-
-                    <li class="nav-header"><span>We need your help!</span></li>
-                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
-                    <!--
-                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
-                    -->
-                </ul>
-            </div>
-        </div>
-
-        <div class="col-md-9 main-article" role="main">
-            <div class="page-article">
-                <div class="page-header">
-                    <h1>Organization</h1>
-                    <!-- TODO: reenable this when we sync SVN to GitHub
-                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/organization.md">contribute to this article on github</a></small>
-                    -->
-                </div>
-                <div class="toc">
-	<ul>
-<li>
-<a href="#creating-an-organization">Creating an organization</a><ul>
-<li><a href="#request-uri">Request URI</a></li>
-<li><a href="#parameters">Parameters</a></li>
-<li><a href="#example---request">Example - Request</a></li>
-<li><a href="#example---response">Example - Response</a></li>
-</ul>
-</li>
-<li>
-<a href="#getting-an-organization">Getting an organization</a><ul>
-<li><a href="#request-uri-1">Request URI</a></li>
-<li><a href="#example---request-1">Example - Request</a></li>
-<li><a href="#example---response-1">Example - Response</a></li>
-</ul>
-</li>
-<li>
-<a href="#activating-an-organization">Activating an organization</a><ul>
-<li><a href="#request-url">Request URL</a></li>
-<li><a href="#example---request-2">Example - Request</a></li>
-<li><a href="#example---response-2">Example - Response</a></li>
-</ul>
-</li>
-<li>
-<a href="#reactivating-an-organization">Reactivating an organization</a><ul>
-<li><a href="#request-uri-2">Request URI</a></li>
-<li><a href="#example---request-3">Example - Request</a></li>
-<li><a href="#example---response-3">Example - Response</a></li>
-</ul>
-</li>
-<li>
-<a href="#generating-organization-client-credentials">Generating organization client credentials</a><ul>
-<li><a href="#request-uri-3">Request URI</a></li>
-<li><a href="#example---request-4">Example - Request</a></li>
-<li><a href="#example---response-4">Example - Response</a></li>
-</ul>
-</li>
-<li>
-<a href="#retrieving-organization-client-credentials">Retrieving organization client credentials</a><ul>
-<li><a href="#request-url-1">Request URL</a></li>
-<li><a href="#example---request-5">Example - Request</a></li>
-<li><a href="#example---response-5">Example - Response</a></li>
-</ul>
-</li>
-<li>
-<a href="#getting-an-organizations-activity-feed">Getting an organization’s activity feed</a><ul>
-<li><a href="#request-uri-4">Request URI</a></li>
-<li><a href="#example---request-6">Example - Request</a></li>
-<li><a href="#example---response-6">Example - Response</a></li>
-</ul>
-</li>
-<li>
-<a href="#creating-an-organization-application">Creating an organization application</a><ul>
-<li><a href="#request-uri-5">Request URI</a></li>
-<li><a href="#parameters-1">Parameters</a></li>
-<li><a href="#example---request-7">Example - Request</a></li>
-<li><a href="#example---response-7">Example - Response</a></li>
-</ul>
-</li>
-<li>
-<a href="#deleting-an-organization-application">Deleting an organization application</a><ul>
-<li><a href="#request-uri-6">Request URI</a></li>
-<li><a href="#example---request-8">Example - Request</a></li>
-<li><a href="#example---response-8">Example - Response</a></li>
-</ul>
-</li>
-<li>
-<a href="#generating-application-credentials">Generating application credentials</a><ul>
-<li><a href="#request-uri-7">Request URI</a></li>
-<li><a href="#example---request-9">Example - Request</a></li>
-<li><a href="#example---response-9">Example - Response</a></li>
-</ul>
-</li>
-<li>
-<a href="#getting-application-credentials">Getting application credentials</a><ul>
-<li><a href="#request-uri-8">Request URI</a></li>
-<li><a href="#example---request-10">Example - Request</a></li>
-<li><a href="#example---response-10">Example - Response</a></li>
-</ul>
-</li>
-<li>
-<a href="#getting-the-applications-in-an-organization">Getting the applications in an organization</a><ul>
-<li><a href="#request-uri-9">Request URI</a></li>
-<li><a href="#example---request-11">Example - Request</a></li>
-<li><a href="#example---response-11">Example - Response</a></li>
-</ul>
-</li>
-<li>
-<a href="#adding-an-admin-user-to-an-organization">Adding an admin user to an organization</a><ul>
-<li><a href="#request-uri-10">Request URI</a></li>
-<li><a href="#parameters-2">Parameters</a></li>
-<li><a href="#example---request-12">Example - Request</a></li>
-<li><a href="#example---response-12">Example - Response</a></li>
-</ul>
-</li>
-<li>
-<a href="#getting-the-admin-users-in-an-organization">Getting the admin users in an organization</a><ul>
-<li><a href="#request-uri-11">Request URI</a></li>
-<li><a href="#parameters-3">Parameters</a></li>
-<li><a href="#example---request-13">Example - Request</a></li>
-<li><a href="#example---response-13">Example - Response</a></li>
-</ul>
-</li>
-<li>
-<a href="#removing-an-admin-user-from-an-organization">Removing an admin user from an organization</a><ul>
-<li><a href="#request-uri-12">Request URI</a></li>
-<li><a href="#parameters-4">Parameters</a></li>
-<li><a href="#example---request-14">Example - Request</a></li>
-<li><a href="#example---response-14">Example - Response</a></li>
-</ul>
-</li>
-</ul>
-</div>
-<p>An organization represents the highest level of the Apache Usergrid data hierarchy. It contains applications (and the entities and collections they contain) and is associated with one or more administrators. An organization can be representative of a company, team, or project. It allows multiple applications  to be shared within the organization with other administrators.</p>
-<p>Using the App services API, you can create an organization through a form post and get an organization by UUID or name. In addition, you can activate or reactivate an organization, generate and retrieve an organization’s client credentials, and get an organization’s activity feed. You can also create an organization application through a form post, generate and retrieve credentials for the application, and delete the application. You can also get the applications in an organization. Additionally, you can add an admin user to an organization, get the admin users in an organization, and remove an admin user from an organization.</p>
-<h2 id="creating-an-organization">Creating an organization</h2>
-<p>Use the POST method to create an organization through a form post.</p>
-<h3 id="request-uri">Request URI</h3>
-<p>POST /organizations|orgs {request body}</p>
-<h3 id="parameters">Parameters</h3>
-<p>Parameter</p>
-<p>Description</p>
-<p>request body</p>
-<p>The following set of organization properties supplied through a form:</p>
-<p>Property</p>
-<p>Description</p>
-<p>organization (string)</p>
-<p>The name of the organization.</p>
-<p>username (string)</p>
-<p>The username of the administrator.</p>
-<p>name (string)</p>
-<p>The name of the administrator.</p>
-<p>email (string)</p>
-<p>The email address of the administrator.</p>
-<p>password (string)</p>
-<p>The password of the administrator.</p>
-<p> </p>
-<h3 id="example---request">Example - Request</h3>
-<ul>
-<li><a href="#curl_create_org">cURL</a></li>
-<li><a href="#javascript_create_org">JavaScript (HTML5)</a></li>
-<li><a href="#ruby_create_org">Ruby</a></li>
-<li><a href="#nodejs_create_org">Node.js</a></li>
-</ul>
-<pre class="highlight"><code class="language-bash"><span class="nv">$ </span>curl -X POST <span class="s2">"https://api.usergrid.com/management/orgs"</span> <span class="se">\</span>
-       -d <span class="s1">'{"password":"test12345","email":"tester123@hotmail.com","name":"test","username":"test123","organization":"testorg"}'</span></code></pre>
-<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
-<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
-<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
-<pre class="highlight"><code class="language-ruby"><span class="n">mgmt</span> <span class="o">=</span> <span class="no">Usergrid</span><span class="o">::</span><span class="no">Management</span><span class="o">.</span><span class="n">new</span> <span class="s1">'https://api.usergrid.com/'</span>
-<span class="n">management</span><span class="o">.</span><span class="n">create_organization</span> <span class="s1">'testorg'</span><span class="p">,</span> <span class="s1">'test123'</span><span class="p">,</span> <span class="s1">'test'</span><span class="p">,</span> <span class="s1">'tester123@hotmail.com'</span><span class="p">,</span> <span class="s1">'test12345'</span></code></pre>
-<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
-<pre class="highlight"><code class="language-javascript"><span class="kd">var</span> <span class="nx">options</span> <span class="o">=</span> <span class="p">{</span>
-    <span class="nx">method</span><span class="o">:</span><span class="s1">'POST'</span><span class="p">,</span>
-    <span class="nx">endpoint</span><span class="o">:</span><span class="s1">'management/orgs'</span><span class="p">,</span>
-    <span class="nx">body</span><span class="o">:</span><span class="p">{</span> 
-          <span class="nx">password</span><span class="o">:</span><span class="s1">'test12345'</span><span class="p">,</span> 
-          <span class="nx">email</span><span class="o">:</span><span class="s1">'tester12345@gmail.com'</span><span class="p">,</span> 
-          <span class="nx">name</span><span class="o">:</span><span class="s1">'test'</span><span class="p">,</span> 
-          <span class="nx">username</span><span class="o">:</span><span class="s1">'tes123'</span><span class="p">,</span> 
-          <span class="nx">organization</span><span class="o">:</span><span class="s1">'testorg'</span> 
-    <span class="p">}</span>    
-<span class="p">};</span>
-<span class="nx">client</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="nx">options</span><span class="p">,</span> <span class="kd">function</span> <span class="p">(</span><span class="nx">err</span><span class="p">,</span> <span class="nx">data</span><span class="p">)</span> <span class="p">{</span>
-    <span class="k">if</span> <span class="p">(</span><span class="nx">err</span><span class="p">)</span> <span class="p">{</span>
-        <span class="c1">//error — POST failed</span>
-    <span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
-        <span class="c1">//success — data will contain raw results from API call        </span>
-    <span class="p">}</span>
-<span class="p">});</span></code></pre>
-<h3 id="example---response">Example - Response</h3>
-<pre class="highlight"><code class="language-javascript"><span class="p">{</span>
-  <span class="s2">"action"</span><span class="o">:</span> <span class="s2">"new organization"</span><span class="p">,</span>
-  <span class="s2">"status"</span><span class="o">:</span> <span class="s2">"ok"</span><span class="p">,</span>
-  <span class="s2">"data"</span><span class="o">:</span>  <span class="p">{</span>
-    <span class="s2">"owner"</span><span class="o">:</span>  <span class="p">{</span>
-      <span class="s2">"applicationId"</span><span class="o">:</span> <span class="s2">"00000000-0000-0000-0000-000000000001"</span><span class="p">,</span>
-      <span class="s2">"username"</span><span class="o">:</span> <span class="s2">"tester123"</span><span class="p">,</span>
-      <span class="s2">"name"</span><span class="o">:</span> <span class="s2">"test"</span><span class="p">,</span>
-      <span class="s2">"email"</span><span class="o">:</span> <span class="s2">"tester123@hotmail.com"</span><span class="p">,</span>
-      <span class="s2">"activated"</span><span class="o">:</span> <span class="kc">false</span><span class="p">,</span>
-      <span class="s2">"disabled"</span><span class="o">:</span> <span class="kc">false</span><span class="p">,</span>
-      <span class="s2">"uuid"</span><span class="o">:</span> <span class="s2">"48c92c73-0d7e-11e2-98b9-12313d288ee0"</span><span class="p">,</span>
-      <span class="s2">"adminUser"</span><span class="o">:</span> <span class="kc">true</span><span class="p">,</span>
-      <span class="s2">"displayEmailAddress"</span><span class="o">:</span> <span class="s2">"tester123 &lt;tester123@hotmail.com&gt;"</span><span class="p">,</span>
-      <span class="s2">"htmldisplayEmailAddress"</span><span class="o">:</span> <span class="s2">"tester123 &lt;&lt;a href="</span><span class="nx">mailto</span><span class="o">:</span><span class="nx">tester123</span><span class="err">@</span><span class="nx">hotmail</span><span class="p">.</span><span class="nx">com</span><span class="s2">"&gt;tester123@hotmail.com&lt;/a&gt;&gt;"</span>
-    <span class="p">},</span>
-    <span class="s2">"organization"</span><span class="o">:</span>  <span class="p">{</span>
-      <span class="s2">"name"</span><span class="o">:</span> <span class="s2">"testorg"</span><span class="p">,</span>
-      <span class="s2">"uuid"</span><span class="o">:</span> <span class="s2">"5de0bb69-0d7f-11e2-87b9-12313d288ff0"</span>
-    <span class="p">}</span>
-  <span class="p">},</span>
-  <span class="s2">"timestamp"</span><span class="o">:</span> <span class="mi">1349284674173</span><span class="p">,</span>
-  <span class="s2">"duration"</span><span class="o">:</span> <span class="mi">21376</span>
-<span class="p">}</span></code></pre>
-<h2 id="getting-an-organization">Getting an organization</h2>
-<p>Use the GET method to retrieve an organization given a specified UUID or username.</p>
-<h3 id="request-uri-1">Request URI</h3>
-<p>GET /organizations|orgs/{org_name}|{uuid}</p>
-<p>Parameters</p>
-<table>
-<thead>
-<tr class="header">
-<th align="left">Parameter</th>
-<th align="left">Description</th>
-</tr>
-</thead>
-<tbody>
-<tr class="odd">
-<td align="left">string org_name|arg uuid</td>
-<td align="left">Organization name or organization UUID.</td>
-</tr>
-</tbody>
-</table>
-<p><strong>Note:</strong> You also need to provide a valid access token with the API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
-<p> </p>
-<h3 id="example---request-1">Example - Request</h3>
-<ul>
-<li><a href="#curl_get_org">cURL</a></li>
-<li><a href="#javascript_get_org">JavaScript (HTML5)</a></li>
-<li><a href="#ruby_get_org">Ruby</a></li>
-<li><a href="#nodejs_get_org">Node.js</a></li>
-</ul>
-<pre class="highlight"><code class="language-bash">curl -X GET <span class="s2">"https://api.usergrid.com/management/orgs/testorg"</span></code></pre>
-<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
-<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
-<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
-<pre class="highlight"><code class="language-ruby"><span class="n">mgmt</span> <span class="o">=</span> <span class="no">Usergrid</span><span class="o">::</span><span class="no">Management</span><span class="o">.</span><span class="n">new</span> <span class="s1">'https://api.usergrid.com/'</span>
-<span class="n">org</span> <span class="o">=</span> <span class="n">mgmt</span><span class="o">.</span><span class="n">organization</span> <span class="s1">'testorg'</span></code></pre>
-<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
-<pre class="highlight"><code class="language-javascript"><span class="kd">var</span> <span class="nx">options</span> <span class="o">=</span> <span class="p">{</span>
-    <span class="nx">method</span><span class="o">:</span><span class="s1">'GET'</span><span class="p">,</span>
-    <span class="nx">endpoint</span><span class="o">:</span><span class="s1">'management/orgs/testorg'</span>
-<span class="p">};</span>
-<span class="nx">client</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="nx">options</span><span class="p">,</span> <span class="kd">function</span> <span class="p">(</span><span class="nx">err</span><span class="p">,</span> <span class="nx">data</span><span class="p">)</span> <span class="p">{</span>
-    <span class="k">if</span> <span class="p">(</span><span class="nx">err</span><span class="p">)</span> <span class="p">{</span>
-        <span class="c1">//error — GET failed</span>
-    <span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
-        <span class="c1">//success — data will contain raw results from API call        </span>
-    <span class="p">}</span>
-<span class="p">});</span></code></pre>
-<h3 id="example---response-1">Example - Response</h3>
-<pre class="highlight"><code class="language-javascript"><span class="p">{</span>
-  <span class="s2">"timestamp"</span><span class="o">:</span> <span class="mi">1349286861746</span><span class="p">,</span>
-  <span class="s2">"duration"</span><span class="o">:</span> <span class="mi">18</span><span class="p">,</span>
-  <span class="s2">"organization"</span><span class="o">:</span>  <span class="p">{</span>
-    <span class="s2">"users"</span><span class="o">:</span>  <span class="p">{</span>
-      <span class="s2">"tester123"</span><span class="o">:</span>  <span class="p">{</span>
-        <span class="s2">"applicationId"</span><span class="o">:</span> <span class="s2">"00000000-0000-0000-0000-000000000001"</span><span class="p">,</span>
-        <span class="s2">"username"</span><span class="o">:</span> <span class="s2">"tester123"</span><span class="p">,</span>
-        <span class="s2">"name"</span><span class="o">:</span> <span class="s2">"test"</span><span class="p">,</span>
-        <span class="s2">"email"</span><span class="o">:</span> <span class="s2">"tester123@hotmail.com"</span><span class="p">,</span>
-        <span class="s2">"activated"</span><span class="o">:</span> <span class="kc">true</span><span class="p">,</span>
-        <span class="s2">"disabled"</span><span class="o">:</span> <span class="kc">false</span><span class="p">,</span>
-        <span class="s2">"uuid"</span><span class="o">:</span> <span class="s2">"327b527f-cd0c-11e1-bcf7-12313d1c4491"</span><span class="p">,</span>
-        <span class="s2">"adminUser"</span><span class="o">:</span> <span class="kc">true</span><span class="p">,</span>
-        <span class="s2">"displayEmailAddress"</span><span class="o">:</span> <span class="s2">"tester123 &lt;tester123@hotmail.com&gt;"</span><span class="p">,</span>
-        <span class="s2">"htmldisplayEmailAddress"</span><span class="o">:</span> <span class="s2">"tester123 &lt;&lt;a href="</span><span class="nx">mailto</span><span class="o">:</span><span class="nx">tester123</span><span class="err">@</span><span class="nx">hotmail</span><span class="p">.</span><span class="nx">com</span><span class="s2">"&gt;tester123@hotmail.com&lt;/a&gt;&gt;"</span>
-      <span class="p">}</span>
-    <span class="p">},</span>
-    <span class="s2">"name"</span><span class="o">:</span> <span class="s2">"testorg"</span><span class="p">,</span>
-    <span class="s2">"applications"</span><span class="o">:</span>  <span class="p">{</span>
-      <span class="s2">"tester123/sandbox"</span><span class="o">:</span> <span class="s2">"3400ba10-cd0c-11e1-bcf7-12313d1c4491"</span><span class="p">,</span>
-      <span class="s2">"tester123/testapp1"</span><span class="o">:</span> <span class="s2">"be08a5f9-fdd3-11e1-beca-12313d027471"</span><span class="p">,</span>
-      <span class="s2">"tester123/testapp2"</span><span class="o">:</span> <span class="s2">"cede5b7e-fe90-11e1-95c8-12313b122c56"</span>
-    <span class="p">},</span>
-    <span class="s2">"uuid"</span><span class="o">:</span> <span class="s2">"33dd0563-cd0c-11e1-bcf7-12313d1c4491"</span>
-  <span class="p">}</span></code></pre>
-<h2 id="activating-an-organization">Activating an organization</h2>
-<p>Use the GET method to activate an organization from a link provided in an email notification.</p>
-<h3 id="request-url">Request URL</h3>
-<p>GET /organizations|orgs/{org_name}|{uuid}/activate?token={token}&amp;confirm={confirm_email}</p>
-<p>Parameters</p>
-<table>
-<thead>
-<tr class="header">
-<th align="left">Parameter</th>
-<th align="left">Description</th>
-</tr>
-</thead>
-<tbody>
-<tr class="odd">
-<td align="left">string org_name|arg uuid</td>
-<td align="left">Organization name or organization UUID.</td>
-</tr>
-<tr class="even">
-<td align="left">string token</td>
-<td align="left">Activation token (supplied via email).</td>
-</tr>
-<tr class="odd">
-<td align="left">boolean confirm_email</td>
-<td align="left">Send confirmation email (false is the default).</td>
-</tr>
-</tbody>
-</table>
-<p> </p>
-<h3 id="example---request-2">Example - Request</h3>
-<ul>
-<li><a href="#curl_activate_org">cURL</a></li>
-<li><a href="#javascript_activate_org">JavaScript (HTML5)</a></li>
-<li><a href="#ruby_activate_org">Ruby</a></li>
-<li><a href="#nodejs_activate_org">Node.js</a></li>
-</ul>
-<!-- -->
-
-<pre><code>curl -X GET "https://api.usergrid.com/management/orgs/testorg/activate?token=33dd0563-cd0c-11e1-bcf7-12313d1c4491"</code></pre>
-<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
-<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
-<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
-<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
-mgmt['orgs/testorg/activate'].get params: { token: '33dd0563-cd0c-11e1-bcf7-12313d1c4491' }</code></pre>
-<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
-<pre><code>var options = {
-    method:'GET',
-    endpoint:'management/orgs/testorg/activate',
-    qs:{token:'33dd0563-cd0c-11e1-bcf7-12313d1c4491'}
-};
-client.request(options, function (err, data) {
-    if (err) {
-        //error — GET failed
-    } else {
-        //success — data will contain raw results from API call       
-    }
-});</code></pre>
-<h3 id="example---response-2">Example - Response</h3>
-<pre><code>{
-  "action": "activate organization",
-  "timestamp": 1337928462810,              
-  "duration": 3342
-}</code></pre>
-<h2 id="reactivating-an-organization">Reactivating an organization</h2>
-<p>Use the GET method to reactivate an organization.</p>
-<h3 id="request-uri-2">Request URI</h3>
-<p>GET /organizations|orgs/{org_name}|{uuid}/reactivate</p>
-<p>Parameters</p>
-<table>
-<thead>
-<tr class="header">
-<th align="left">Parameter</th>
-<th align="left">Description</th>
-</tr>
-</thead>
-<tbody>
-<tr class="odd">
-<td align="left">string org_name|arg uuid</td>
-<td align="left">Organization name or organization UUID.</td>
-</tr>
-</tbody>
-</table>
-<p> </p>
-<h3 id="example---request-3">Example - Request</h3>
-<ul>
-<li><a href="#curl_reactivate_org">cURL</a></li>
-<li><a href="#javascript_reactivate_org">JavaScript (HTML5)</a></li>
-<li><a href="#ruby_reactivate_org">Ruby</a></li>
-<li><a href="#nodejs_reactivate_org">Node.js</a></li>
-</ul>
-<!-- -->
-
-<pre><code>curl -X GET "https://api.usergrid.com/management/orgs/testorg/reactivate"</code></pre>
-<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
-<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
-<p> </p>
-<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
-<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
-mgmt['orgs/testorg/reactivate']</code></pre>
-<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
-<pre><code>var options = {
-    method:'GET',
-    endpoint:'management/orgs/testorg/reactivate'
-};
-client.request(options, function (err, data) {
-    if (err) {
-        //error — GET failed
-    } else {
-        //success — data will contain raw results from API call       
-    }
-});</code></pre>
-<h3 id="example---response-3">Example - Response</h3>
-<pre><code>{
-  "action": "reactivate organization",
-  "timestamp": 1349385280891,
-  "duration": 3612
-}</code></pre>
-<h2 id="generating-organization-client-credentials">Generating organization client credentials</h2>
-<p>Use the POST method to generate new credentials for an organization client.</p>
-<h3 id="request-uri-3">Request URI</h3>
-<p>POST /organizations|orgs/{org_name}|{uuid}/credentials</p>
-<p>Parameters</p>
-<table>
-<thead>
-<tr class="header">
-<th align="left">Parameter</th>
-<th align="left">Description</th>
-</tr>
-</thead>
-<tbody>
-<tr class="odd">
-<td align="left">string org_name|arg uuid</td>
-<td align="left">Organization name or organization UUID.</td>
-</tr>
-</tbody>
-</table>
-<p><strong>Note:</strong> You also need to provide a valid access token with the API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
-<p> </p>
-<h3 id="example---request-4">Example - Request</h3>
-<ul>
-<li><a href="#curl_gen_org_credentials">cURL</a></li>
-<li><a href="#javascript_gen_org_credentials">JavaScript</a></li>
-<li><a href="#ruby_gen_org_credentials">Ruby</a></li>
-<li><a href="#nodejs_gen_org_credentials">Node.js</a></li>
-</ul>
-<!-- -->
-
-<pre><code>curl -X POST "https://api.usergrid.com/management/orgs/credentials"</code></pre>
-<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
-<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
-<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
-<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
-mgmt['orgs/credentials'].create</code></pre>
-<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
-<pre><code>var options = {
-    method:'POST',
-    endpoint:'management/orgs/credentials'
-};
-client.request(options, function (err, data) {
-    if (err) {
-        //error — POST failed
-    } else {
-        //success — data will contain raw results from API call       
-    }
-});</code></pre>
-<h3 id="example---response-4">Example - Response</h3>
-<pre><code>{
-  "action": "generate organization client credentials",
-  "timestamp": 1349385795647,
-  "duration": 7,
-  "credentials":  {
-    "client_id": "c2V7N61DY90MCdG78xIxPRxFdQ",                  
-    "client_secret": "c2V7WEdXIutZWEkWdySLCt_lYDFVMMN"                      
-  }
-}</code></pre>
-<h2 id="retrieving-organization-client-credentials">Retrieving organization client credentials</h2>
-<p>Use the GET method to retrieve the credentials for an organization client.</p>
-<h3 id="request-url-1">Request URL</h3>
-<p>GET /organizations|orgs/{org_name}|{uuid}/credentials</p>
-<p>Parameters</p>
-<table>
-<thead>
-<tr class="header">
-<th align="left">Parameter</th>
-<th align="left">Description</th>
-</tr>
-</thead>
-<tbody>
-<tr class="odd">
-<td align="left">string org_name|arg uuid</td>
-<td align="left">Organization name or organization UUID.</td>
-</tr>
-</tbody>
-</table>
-<p><strong>Note:</strong> You also need to provide a valid access token with the API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
-<p> </p>
-<h3 id="example---request-5">Example - Request</h3>
-<ul>
-<li><a href="#curl_get_org_credentials">cURL</a></li>
-<li><a href="#javascript_get_org_credentials">JavaScript (HTML5)</a></li>
-<li><a href="#ruby_get_org_credentials">Ruby</a></li>
-<li><a href="#nodejs_get_org_credentials">Node.js</a></li>
-</ul>
-<!-- -->
-
-<pre><code>curl -X GET "https://api.usergrid.com/management/orgs/testorg/credentials"</code></pre>
-<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
-<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
-<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
-<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
-mgmt['orgs/testorg/credentials']</code></pre>
-<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
-<pre><code>var options = {
-    method:'GET',
-    endpoint:'management/orgs/testorg/credentials'
-};
-client.request(options, function (err, data) {
-    if (err) {
-        //error — GET failed
-    } else {
-        //success — data will contain raw results from API call       
-    }
-});</code></pre>
-<h3 id="example---response-5">Example - Response</h3>
-<pre><code>{
-  "action": "get organization client credentials",
-  "timestamp": 1349386672984,
-  "duration": 690,
-  "credentials":  {
-    "client_id": "c2V7N61DY90MCdG78xIxPRxFdQ",                  
-    "client_secret": "c2V7WEdXIutZWEkWdySLCt_lYDFVMMN"                      
-  }
-}</code></pre>
-<h2 id="getting-an-organizations-activity-feed">Getting an organization’s activity feed</h2>
-<p>Use the GET method to get an organization’s activity feed.</p>
-<h3 id="request-uri-4">Request URI</h3>
-<p>GET /organizations|orgs/{org_name}|{uuid}/feed</p>
-<p>Parameters</p>
-<table>
-<thead>
-<tr class="header">
-<th align="left">Parameter</th>
-<th align="left">Description</th>
-</tr>
-</thead>
-<tbody>
-<tr class="odd">
-<td align="left">string org_name|arg uuid</td>
-<td align="left">Organization name or organization UUID.</td>
-</tr>
-</tbody>
-</table>
-<p><strong>Note:</strong> You also need to provide a valid access token with the API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
-<p> </p>
-<h3 id="example---request-6">Example - Request</h3>
-<ul>
-<li><a href="#curl_get_org_feed">cURL</a></li>
-<li><a href="#javascript_get_org_feed">JavaScript (HTML5)</a></li>
-<li><a href="#ruby_get_org_feed">Ruby</a></li>
-<li><a href="#nodejs_get_org_feed">Node.js</a></li>
-</ul>
-<!-- -->
-
-<pre><code>curl -X GET "https://api.usergrid.com/management/orgs/testorg/feed"</code></pre>
-<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
-<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
-<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
-<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
-activities = mgmt['orgs/testorg/feed'].collection</code></pre>
-<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
-<pre><code>var options = {
-    method:'GET',
-    endpoint:'management/orgs/testorg/feed'
-};
-client.request(options, function (err, data) {
-    if (err) {
-        //error — GET failed
-    } else {
-        //success — data will contain raw results from API call       
-    }
-});</code></pre>
-<h3 id="example---response-6">Example - Response</h3>
-<pre><code>{
- {
-  "action": "get organization feed",
-  "status": "ok",
-  "entities":  [
-     {
-      "uuid": "cf4d981c-fe90-11e1-95c8-12313b122c56",
-      "type": "activity",
-      "created": 1347643370454,
-      "modified": 1347643370454,
-      "actor":  {
-        "displayName": "tester123",
-        "objectType": "person",
-        "uuid": "327b527f-cd0c-11e1-bcf7-12313d1c4491",
-        "entityType": "user"
-      },
-      "category": "admin",
-      "metadata":  {
-        "cursor": "gGkAAQMAgGkABgE5xc3r1gCAdQAQz02YHP6QEeGVyBIxOxIsVgCAdQAQz3SoH_6QEeGVyBIxOxIsVgA",
-        "path": "/groups/33dd0563-cd0c-11e1-bcf7-12313d1c4491/feed/cf4d981c-fe90-11e1-95c8-12313b122c56"
-      },
-"object":  {
-        "displayName": "testapp2",
-        "objectType": "Application",
-        "uuid": "cede5b7e-fe90-11e1-95c8-12313b122c56",
-        "entityType": "application_info"
-      },
-      "published": 1347643370454,
-      "title": "&lt;a mailto="mailto:tester123@hotmail.com"&gt;tester123 (tester123@hotmail.com)&lt;/a&gt; created a new application named testapp2",
-      "verb": "create"
-    },...
-,
-  "timestamp": 1349387253811,</code></pre>
-<h2 id="creating-an-organization-application">Creating an organization application</h2>
-<p>Use the POST method to create an application for an organization through a form post.</p>
-<h3 id="request-uri-5">Request URI</h3>
-<p>POST /organizations|orgs/{org_name}|{org_uuid}/apps {request body}</p>
-<h3 id="parameters-1">Parameters</h3>
-<p>Parameter</p>
-<p>Description</p>
-<p>request body</p>
-<p>The following set of organization properties supplied through a form:.</p>
-<p>Property</p>
-<p>Description</p>
-<p>access token (string)</p>
-<p>The OAuth2 access token.</p>
-<p>name (string)</p>
-<p>The name of the application.</p>
-<p> </p>
-<h3 id="example---request-7">Example - Request</h3>
-<ul>
-<li><a href="#curl_create_org_app">cURL</a></li>
-<li><a href="#javascript_create_org_app">JavaScript (HTML5)</a></li>
-<li><a href="#ruby_create_org_app">Ruby</a></li>
-<li><a href="#nodejs_create_org_app">Node.js</a></li>
-</ul>
-<!-- -->
-
-<pre><code>curl -X -i POST "https://api.usergrid.com/management/orgs/testorg/apps" -d '{"access_token":"YWMtmNIFFBI6EeKvXSIACowF7QAAATpL0bVQtGOWe8PMwLfQ9kD_VKQa7IH4UBQ","name":"testapp1"}'</code></pre>
-<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
-<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
-<p> </p>
-<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
-<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
-mynewapp = mgmt['orgs/testorg/apps'].create name: 'testapp1', access_token: 'YWMtmNIFFBI6EeKvXSIACowF7QAAATpL0bVQtGOWe8PMwLfQ9kD_VKQa7IH4UBQ'</code></pre>
-<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
-<pre><code>var options = {
-    method:'POST',
-    endpoint:'management/orgs/testorg/apps',
-    body:{ 
-          access_token:'YWMtmNIFFBI6EeKvXSIACowF7QAAATpL0bVQtGOWe8PMwLfQ9kD_VKQa7IH4UBQ', 
-          name:'testapp1' 
-    }    
-};
-client.request(options, function (err, data) {
-    if (err) {
-        //error — POST failed
-    } else {
-        //success — data will contain raw results from API call        
-    }
-});</code></pre>
-<h3 id="example---response-7">Example - Response</h3>
-<pre><code>{
-  "action": "new application for organization",
-  "timestamp": 1338914698135,
-  "duration": 701
-}</code></pre>
-<h2 id="deleting-an-organization-application">Deleting an organization application</h2>
-<p>Use the DELETE method to delete an application from an organization.</p>
-<h3 id="request-uri-6">Request URI</h3>
-<p>DELETE /organizations|orgs/{org_name}|{org_uuid}/apps/{app_name}|{app_uuid}</p>
-<p>Parameters</p>
-<table>
-<thead>
-<tr class="header">
-<th align="left">Parameter</th>
-<th align="left">Description</th>
-</tr>
-</thead>
-<tbody>
-<tr class="odd">
-<td align="left">string org_name|arg uuid</td>
-<td align="left">Organization name or organization UUID.</td>
-</tr>
-<tr class="even">
-<td align="left">string app_name|arg uuid</td>
-<td align="left">Application name or application UUID.</td>
-</tr>
-</tbody>
-</table>
-<p><strong>Note:</strong> You also need to provide a valid access token with the API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
-<p> </p>
-<h3 id="example---request-8">Example - Request</h3>
-<ul>
-<li><a href="#curl_delete_org_app">cURL</a></li>
-<li><a href="#javascript_delete_org_app">JavaScript (HTML5)</a></li>
-<li><a href="#ruby_delete_org_app">Ruby</a></li>
-<li><a href="#nodejs_delete_org_app">Node.js</a></li>
-</ul>
-<!-- -->
-
-<pre><code>curl -X DELETE "https://api.usergrid.com/management/orgs/testorg/apps/testapp1"</code></pre>
-<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
-<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
-<p> </p>
-<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
-<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
-mgmt['orgs/testorg/apps/testapp1'].delete</code></pre>
-<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
-<pre><code>var options = {
-    method:'DELETE',
-    endpoint:'management/orgs/testorg/apps/testapp1'
-};
-client.request(options, function (err, data) {
-    if (err) {
-        //error — DELETE failed
-    } else {
-        //success — data will contain raw results from API call       
-    }
-});</code></pre>
-<h3 id="example---response-8">Example - Response</h3>
-<pre><code>{
-  "action": "delete application from organization",
-  "timestamp": 1349817715666,
-  "duration": 0
-}</code></pre>
-<h2 id="generating-application-credentials">Generating application credentials</h2>
-<p>Use the POST method to generate the client ID and client secret credentials for an application in an organization.</p>
-<h3 id="request-uri-7">Request URI</h3>
-<p>POST /organizations|orgs/{org_name}|{uuid}/applications|apps/{app_name}|{uuid}/credentials</p>
-<p>Parameters</p>
-<table>
-<thead>
-<tr class="header">
-<th align="left">Parameter</th>
-<th align="left">Description</th>
-</tr>
-</thead>
-<tbody>
-<tr class="odd">
-<td align="left">string org_name|arg uuid</td>
-<td align="left">Organization name or organization UUID.</td>
-</tr>
-<tr class="even">
-<td align="left">string app_name|arg uuid</td>
-<td align="left">Application name or application UUID.</td>
-</tr>
-</tbody>
-</table>
-<p><strong>Note:</strong> You also need to provide a valid access token with the API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
-<p> </p>
-<h3 id="example---request-9">Example - Request</h3>
-<ul>
-<li><a href="#curl_gen_app_credentials">cURL</a></li>
-<li><a href="#javascript_gen_app_credentials">JavaScript (HTML5)</a></li>
-<li><a href="#ruby_gen_app_credentials">Ruby</a></li>
-<li><a href="#nodejs_gen_app_credentials">Node.js</a></li>
-</ul>
-<!-- -->
-
-<pre><code>curl -X POST "https://api.usergrid.com/management/orgs/testorg/apps/testapp1/credentials"</code></pre>
-<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
-<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
-<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
-<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
-mgmt['orgs/testorg/apps/testapp1/credentials'].create</code></pre>
-<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Node.js module</a>.</p>
-<pre><code>var options = {
-    method:'POST',
-    endpoint:'management/orgs/testorg/apps/testapp1/credentials'
-};
-client.request(options, function (err, data) {
-    if (err) {
-        //error — POST failed
-    } else {
-        //success — data will contain raw results from API call       
-    }
-});</code></pre>
-<h3 id="example---response-9">Example - Response</h3>
-<pre><code>{
-  "action": "generate application client credentials",
-  "timestamp": 1349815979529,
-  "duration": 535,
-  "credentials":  {
-    "client_id": "YXA7ygil-f3TEeG-yhIxPQK1cQ",
-    "client_secret": "YXA65gYlqja8aYYSAy8Ox3Vg5aRZp48"
-  }
-}</code></pre>
-<h2 id="getting-application-credentials">Getting application credentials</h2>
-<p>Use the GET method to retrieve the client ID and client secret credentials for an application in an organization.</p>
-<h3 id="request-uri-8">Request URI</h3>
-<p>GET /organizations|orgs/{org_name}|{uuid}/applications|apps/{app_name}|{uuid}/credentials</p>
-<p>Parameters</p>
-<table>
-<thead>
-<tr class="header">
-<th align="left">Parameter</th>
-<th align="left">Description</th>
-</tr>
-</thead>
-<tbody>
-<tr class="odd">
-<td align="left">string org_name|arg uuid</td>
-<td align="left">Organization name or organization UUID.</td>
-</tr>
-<tr class="even">
-<td align="left">string app_name|arg uuid</td>
-<td align="left">Application name or application UUID.</td>
-</tr>
-</tbody>
-</table>
-<p><strong>Note:</strong> You also need to provide a valid access token with the API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
-<p> </p>
-<h3 id="example---request-10">Example - Request</h3>
-<ul>
-<li><a href="#curl_get_app_credentials">cURL</a></li>
-<li><a href="#javascript_get_app_credentials">JavaScript (HTML5)</a></li>
-<li><a href="#ruby_get_app_credentials">Ruby</a></li>
-<li><a href="#nodejs_get_app_credentials">Node.js</a></li>
-</ul>
-<!-- -->
-
-<pre><code>curl -X GET "https://api.usergrid.com/management/orgs/testorg/apps/testapp1/credentials"</code></pre>
-<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
-<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
-<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
-<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
-mgmt['orgs/testorg/apps/testapp1/credentials']</code></pre>
-<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
-<pre><code>var options = {
-    method:'GET',
-    endpoint:'management/orgs/testorg/apps/testapp1/credentials'
-};
-client.request(options, function (err, data) {
-    if (err) {
-        //error — GET failed
-    } else {
-        //success — data will contain raw results from API call       
-    }
-});</code></pre>
-<h3 id="example---response-10">Example - Response</h3>
-<pre><code>{
-  "action": "get application client credentials",
-  "timestamp": 1349816819545,
-  "duration": 7,
-  "credentials":  {
-    "client_id": "YXA7ygil-f3TEeG-yhIxPQK1cQ",
-    "client_secret": "YXA65gYlqja8aYYSAy8Ox3Vg5aRZp48"
-  }
-}</code></pre>
-<h2 id="getting-the-applications-in-an-organization">Getting the applications in an organization</h2>
-<p>Use the GET method to retrieve the applications in an organization.</p>
-<h3 id="request-uri-9">Request URI</h3>
-<p>GET /organizations|orgs/{org_name}|{uuid}/applications|apps</p>
-<p>Parameters</p>
-<table>
-<thead>
-<tr class="header">
-<th align="left">Parameter</th>
-<th align="left">Description</th>
-</tr>
-</thead>
-<tbody>
-<tr class="odd">
-<td align="left">string org_name|arg uuid</td>
-<td align="left">Organization name or organization UUID.</td>
-</tr>
-</tbody>
-</table>
-<p><strong>Note:</strong> You also need to provide a valid access token with the API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
-<p> </p>
-<h3 id="example---request-11">Example - Request</h3>
-<ul>
-<li><a href="#curl_get_apps_org">cURL</a></li>
-<li><a href="#javascript_get_apps_org">JavaScript (HTML5)</a></li>
-<li><a href="#ruby_get_apps_org">Ruby</a></li>
-<li><a href="#nodejs_get_apps_org">Node.js</a></li>
-</ul>
-<!-- -->
-
-<pre><code>curl -X GET "https://api.usergrid.com/management/orgs/testorg/apps"</code></pre>
-<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
-<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
-<p> </p>
-<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
-<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
-apps = mgmt['orgs/testorg/apps'].collection</code></pre>
-<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
-<pre><code>var options = {
-    method:'GET',
-    endpoint:'management/orgs/testorg/apps'
-};
-client.request(options, function (err, data) {
-    if (err) {
-        //error — GET failed
-    } else {
-        //success — data will contain raw results from API call       
-    }
-});</code></pre>
-<p> </p>
-<h3 id="example---response-11">Example - Response</h3>
-<pre><code>{
-  "action": "get organization application",
-  "data":  {
-    "testorg/sandbox": "3500ba10-cd0c-11e1-bcf8-12313d1c5591",
-    "testorg/testapp1": "be09a5f9-fdd3-11e1-beca-12313d027361",
-    "testorg/testapp2": "cede5b8e-fe90-11e1-65c8-12313b111c56"    
-  },
-  "timestamp": 1349815338635,
-  "duration": 22
-}</code></pre>
-<h2 id="adding-an-admin-user-to-an-organization">Adding an admin user to an organization</h2>
-<p>Use the PUT method to add an existing admin user to an organization.</p>
-<h3 id="request-uri-10">Request URI</h3>
-<p>PUT /organizations|orgs/{org_name}|{org_uuid}/users/{username|email|uuid}</p>
-<h3 id="parameters-2">Parameters</h3>
-<table>
-<thead>
-<tr class="header">
-<th align="left">Parameter</th>
-<th align="left">Description</th>
-</tr>
-</thead>
-<tbody>
-<tr class="odd">
-<td align="left">string org_name|arg org_uuid</td>
-<td align="left">Organization name or organization UUID.</td>
-</tr>
-<tr class="even">
-<td align="left">string username|string email|arg uuid</td>
-<td align="left">User name, user email address, or user UUID.</td>
-</tr>
-</tbody>
-</table>
-<p> </p>
-<h3 id="example---request-12">Example - Request</h3>
-<ul>
-<li><a href="#curl_add_admin_user">cURL</a></li>
-<li><a href="#javascript_add_admin_user">JavaScript (HTML5)</a></li>
-<li><a href="#ruby_add_admin_user">Ruby</a></li>
-<li><a href="#nodejs_add_admin_user">Node.js</a></li>
-</ul>
-<!-- -->
-
-<pre><code>curl -X PUT "https://api.usergrid.com/management/orgs/testorg/users/test123"</code></pre>
-<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
-<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
-<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
-<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
-mgmt['orgs/testorg/users/test123'].put nil</code></pre>
-<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
-<pre><code>var options = {
-    method:'PUT',
-    endpoint:'management/orgs/testorg/users/test123'
-};
-client.request(options, function (err, data) {
-    if (err) {
-        //error — PUT failed
-    } else {
-        //success — data will contain raw results from API call       
-    }
-});</code></pre>
-<h3 id="example---response-12">Example - Response</h3>
-<pre><code>{
-  "action": "add user to organization",
-  "status": "ok",
-  "data":  {
-    "user":  {
-      "applicationId": "00000000-0000-0000-0000-000000000001",
-      "username": "tester123",
-      "name": "test",
-      "email": "tester123@hotmail.com",
-      "activated": true,
-      "disabled": false,
-      "uuid": "335b527f-cd0d-11e1-bef8-12331d1c5591",
-      "adminUser": true,
-      "displayEmailAddress": "tester123 &lt;tester123@hotmail.com&gt;",
-      "htmldisplayEmailAddress": "tester123 &lt;&lt;a href="mailto:tester123@hotmail.com"&gt;tester123@hotmail.com&lt;/a&gt;&gt;"
-    }
-  },
-  "timestamp": 1349390189106,
-  "duration": 11808
-}</code></pre>
-<h2 id="getting-the-admin-users-in-an-organization">Getting the admin users in an organization</h2>
-<p>Use the GET method to retrieve details about the admin users in an organization.</p>
-<h3 id="request-uri-11">Request URI</h3>
-<p>GET /organizations|orgs/{org_name}|{org_uuid}/users</p>
-<h3 id="parameters-3">Parameters</h3>
-<table>
-<thead>
-<tr class="header">
-<th align="left">Parameter</th>
-<th align="left">Description</th>
-</tr>
-</thead>
-<tbody>
-<tr class="odd">
-<td align="left">string org_name|arg org_uuid</td>
-<td align="left">Organization name or organization UUID.</td>
-</tr>
-</tbody>
-</table>
-<p> </p>
-<h3 id="example---request-13">Example - Request</h3>
-<ul>
-<li><a href="#curl_get_admin_users">cURL</a></li>
-<li><a href="#javascript_get_admin_users">JavaScript (HTML5)</a></li>
-<li><a href="#ruby_get_admin_users">Ruby</a></li>
-<li><a href="#nodejs_get_admin_users">Node.js</a></li>
-</ul>
-<!-- -->
-
-<pre><code>curl -X GET "https://api.usergrid.com/management/orgs/testorg/users"</code></pre>
-<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
-<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
-<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
-<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
-admins = mgmt['orgs/testorg/users']</code></pre>
-<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
-<pre><code>var options = {
-    method:'GET',
-    endpoint:'management/orgs/testorg/users'
-};
-client.request(options, function (err, data) {
-    if (err) {
-        //error — GET failed
-    } else {
-        //success — data will contain raw results from API call       
-    }
-});</code></pre>
-<h3 id="example---response-13">Example - Response</h3>
-<pre><code>{
-  "action": "get organization users",
-  "data":  {
-    "user":  {
-      "applicationId": "00000000-0000-0000-0000-000000000001",
-      "username": "tester123",
-      "name": "test",
-      "email": "tester123@hotmail.com",
-      "activated": true,
-      "disabled": false,
-      "uuid": "335b527f-cd0d-11e1-bef8-12331d1c5591",
-      "adminUser": true,
-      "displayEmailAddress": "tester123 &lt;tester123@hotmail.com&gt;",
-      "htmldisplayEmailAddress": "tester123 &lt;&lt;a href="mailto:tester123@hotmail.com"&gt;tester123@hotmail.com&lt;/a&gt;&gt;"
-    }
-  },
-  "timestamp": 13494542201685,
-  "duration": 10
-}</code></pre>
-<h2 id="removing-an-admin-user-from-an-organization">Removing an admin user from an organization</h2>
-<p>Use the DELETE method to remove an admin user from an organization.</p>
-<h3 id="request-uri-12">Request URI</h3>
-<p>DELETE /organizations|orgs/{org_name}|{org_uuid}/users/{username|email|uuid}</p>
-<h3 id="parameters-4">Parameters</h3>
-<table>
-<thead>
-<tr class="header">
-<th align="left">Parameter</th>
-<th align="left">Description</th>
-</tr>
-</thead>
-<tbody>
-<tr class="odd">
-<td align="left">string org_name|arg org_uuid</td>
-<td align="left">Organization name or organization UUID.</td>
-</tr>
-<tr class="even">
-<td align="left">string username|string email|arg uuid</td>
-<td align="left">User name, user email address, or user UUID.</td>
-</tr>
-</tbody>
-</table>
-<p> </p>
-<h3 id="example---request-14">Example - Request</h3>
-<ul>
-<li><a href="#curl_delete_admin_user">cURL</a></li>
-<li><a href="#javascript_delete_admin_user">JavaScript (HTML5)</a></li>
-<li><a href="#ruby_delete_admin_user">Ruby</a></li>
-<li><a href="#nodejs_delete_admin_user">Node.js</a></li>
-</ul>
-<!-- -->
-
-<pre><code>curl -X DELETE "https://api.usergrid.com/management/orgs/testorg/users/test123"</code></pre>
-<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
-<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
-<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
-<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
-mgmt['orgs/testorg/users/test123'].delete</code></pre>
-<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
-<pre><code>var options = {
-    method:'DELETE',
-    endpoint:'management/orgs/testorg/users/test123'
-};
-client.request(options, function (err, data) {
-    if (err) {
-        //error — DELETE failed
-    } else {
-        //success — data will contain raw results from API call       
-    }
-});</code></pre>
-<h3 id="example---response-14">Example - Response</h3>
-<pre><code>{
-  "action": "remove user from organization",
-  "status": "ok",
-  "data":  {
-    "user":  {
-      "applicationId": "00000000-0000-0000-0000-000000000001",
-      "username": "tester123",
-      "name": "test",
-      "email": "tester123@hotmail.com",
-      "activated": true,
-      "disabled": false,
-      "uuid": "335b527f-cd0d-11e1-bef8-12331d1c5591",
-      "adminUser": true,
-      "displayEmailAddress": "tester123 &lt;tester123@hotmail.com&gt;",
-      "htmldisplayEmailAddress": "tester123 &lt;&lt;a href="mailto:tester123@hotmail.com"&gt;tester123@hotmail.com&lt;/a&gt;&gt;"
-    }
-  },
-  "timestamp": 1349453590005,
-  "duration": 727
-}</code></pre>
-<p> </p>
-            </div>
-        </div>
-    </div>
-    <div class="row">
-        <div class="col-md-3"></div>
-        <div class="col-md-9">
-            <div class="github-callout">
-                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
-                <!--
-                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/organization.md">this article on github</a>.</div> 
-                -->
-            </div>
-        </div>
-    </div>
-</div>
-
-
-<footer class="bf-footer" role="contentinfo">
-    <div class="container">
-        <div class="row">
-            <div class="col-md-2">
-                <ul class="nav nav-list">
-                    <li class="nav-header"><a href="/">Home</a></li>
-                    <li class="nav-header"><a href="/community/">Community</a></li>
-                        <li><a href="/community/#events">Events</a></li>
-                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
-                        <li><a href="/community/#deployments">Deployments</a></li>
-                        <li><a href="/community/#committers">Commiters</a></li>
-                </ul>
-            </div>
-            <div class="col-md-2">
-                <ul class="nav nav-list">
-                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
-                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
-                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
-                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
-                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
-                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
-                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
-                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
-                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
-                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
-                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
-                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
-                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
-                </ul>
-            </div>
-            <div class="col-md-2">
-                <ul class="nav nav-list">
-                    <li class="nav-header">Resources</li>
-                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
-                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
-                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
-                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
-                    <li><a href="/community/#live">Live Chat</a></li>
-                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
-                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
-                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
-                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
-                </ul>
-            </div>
-            <div class="col-md-2">
-                <ul class="nav nav-list">
-                    <li class="nav-header">Apache</li>
-                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
-                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
-                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
-                    <li><a href="http://www.apache.org/security/">Security</a></li>
-                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
-                </ul>
-            </div>
-            <div class="col-md-4">
-                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
-                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
-            </div> 
-        <!--
-            <div class="col-md-4">
-                <div class="input-group form-search">
-                    <input type="text" class="form-control search-query">
-                    <span class="input-group-btn">
-                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
-                    </span>
-                </div>
-            </div> -->
-        </div> 
-        <div class="row">
-            <div id="copyright">
-                <img src="/img/egg-logo.png" /><br/><br/>
-                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
-                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
-                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
-                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
-            </div>
-        </div>
-    </div>
-</footer>
-
-<script type="text/javascript" src="/js/head.js"></script>
-<script type="text/javascript">
-    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
-</script>
-<script>
-  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
-  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
-  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
-  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
-  ga('create', 'UA-45815079-1', 'apache.org');
-  ga('send', 'pageview');
-
-</script>
-
-
-
-</body>
-</html>