diff --git a/public/api/index.html b/public/api/index.html index 11c63c6..e9d2205 100644 --- a/public/api/index.html +++ b/public/api/index.html @@ -212,10 +212,7 @@
Token and provider are mandatory - -
-POST /users/:user-id/tokens
+PUT /users/:user-id/tokens
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 @@
DELETE /users/:user-id/thirdparty/:token-id
Token and provider are mandatory + +
POST /users/:user-id/thirdparty
{
token: "SEVMTE8gWUVTIEkgQU0gRE9HCg", // mandatory