Browse files

[minor fix] adds named token route to docs

  • Loading branch information...
1 parent af56926 commit 4f4d29afc188f47bace09f39a383c976370ec488 @dscape dscape committed Dec 4, 2012
Showing with 4 additions and 2 deletions.
  1. +2 −1 content/articles/api/
  2. +2 −1 public/api/index.html
@@ -113,7 +113,8 @@ All User accounts must be confirmed. When a new User is created, a confirmation
<a name="create-an-api-token"></a>
### Create an API Token
- PUT /users/:user-id/tokens
+ POST /users/:user-id/tokens
+ PUT /users/:user-id/tokens/:my-named-token
### Get User Third Party Tokens
@@ -212,7 +212,8 @@ <h3>Delete an API Token</h3>
<p><a name="create-an-api-token"></a>
<h3>Create an API Token</h3>
-<pre><code>PUT /users/:user-id/tokens</code></pre>
+<pre><code>POST /users/:user-id/tokens
+PUT /users/:user-id/tokens/:my-named-token</code></pre>
<h3>Get User Third Party Tokens</h3>
<p>Users sometimes need Nodejitsu to store an authorization token for a service they want us to use for them. e.g. For us to deploy a private repository you have in Github we need you to give Nodejitsu access to your github account.

0 comments on commit 4f4d29a

Please sign in to comment.