checkbook-api
Advanced tools
Comparing version 3.2.1 to 3.2.2
@@ -38,2 +38,9 @@ 'use strict'; | ||
}, callback); | ||
}, | ||
delete: function(user_id, callback) { | ||
return this.resource.request({ | ||
method: 'DELETE', | ||
uri: '/user/' + user_id | ||
}, callback); | ||
} | ||
@@ -40,0 +47,0 @@ |
{ | ||
"name": "checkbook-api", | ||
"version": "3.2.1", | ||
"version": "3.2.2", | ||
"description": "Node.js library for the Checkbook.io API", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -127,2 +127,3 @@ # Node.js library for the Checkbook.io API | ||
* ```list(query, callback)``` [:book:](https://docs.checkbook.io/reference#get-users) | ||
* ```delete(user_id, callback)``` [:book:](https://docs.checkbook.io/reference#delete-user) | ||
@@ -129,0 +130,0 @@ --- |
@@ -80,2 +80,17 @@ var CheckbookAPI = require("../lib/checkbook"); | ||
}); | ||
*/ | ||
/* | ||
Delete the specified marketplace user | ||
https://docs.checkbook.io/reference#delete-user | ||
*/ | ||
/* | ||
Checkbook.users.delete('222e276dc9b548fda3faa7eacb56c655', function (error, response) { | ||
if (error) { | ||
console.log('Error:', error); | ||
} else { | ||
console.log('Response:', response); | ||
} | ||
}); | ||
*/ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
148703
751
154