Account deletion endpoint

This commit is contained in:
Tom Moor
2018-07-07 17:38:22 -05:00
parent a049e0e9bc
commit 465f819c45
5 changed files with 121 additions and 10 deletions

View File

@@ -26,6 +26,15 @@ Object {
}
`;
exports[`#user.delete should require authentication 1`] = `
Object {
"error": "authentication_required",
"message": "Authentication required",
"ok": false,
"status": 401,
}
`;
exports[`#user.demote should demote an admin 1`] = `
Object {
"data": Object {