Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[generated] compiled fixes for previous commit

  • Loading branch information...
commit af569269c89cf9c50d1faf0671c4de6edd9c3b7b 1 parent 65e4ff8
@dscape dscape authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 public/api/index.html
View
8 public/api/index.html
@@ -212,10 +212,7 @@ <h1 class="title">JSON API</h1>
<p><a name="create-an-api-token"></a>
</p>
<h3>Create an API Token</h3>
-<p>Token and provider are mandatory
-
-</p>
-<pre><code>POST /users/:user-id/tokens</code></pre>
+<pre><code>PUT /users/:user-id/tokens</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.
@@ -230,6 +227,9 @@ <h1 class="title">JSON API</h1>
<h3>Delete an Third Party Token</h3>
<pre><code>DELETE /users/:user-id/thirdparty/:token-id</code></pre>
<h3>Create an Third Party Token</h3>
+<p>Token and provider are mandatory
+
+</p>
<pre><code>POST /users/:user-id/thirdparty
{
token: &quot;SEVMTE8gWUVTIEkgQU0gRE9HCg&quot;, // mandatory
Please sign in to comment.
Something went wrong with that request. Please try again.