-
Notifications
You must be signed in to change notification settings - Fork 0
Delete
aris alexis edited this page Feb 25, 2016
·
1 revision
Only the admin can delete a user
You can either register users as admin (basic auth or a jwt token with username:'admin') OR register as a user with a valid JWT token (similar to login).
-
URL
/users/:username
-
Method:
DELETE
-
Success Response:
-
Code: 204
-
Code: 204
-
Error Response:
-
Code: 401 UNAUTHORIZED
-
Code: 401 UNAUTHORIZED