'.. http:delete:: /api/1/users/<int:user_id>
Change the settings for the current user.
**Example Request**:
.. sourcecode:: http
DELETE /api/1/users/15 HTTP/1.1
Host: example.com
Accept: application/json
**Example Response**:
.. sourcecode:: http
HTTP/1.1 200 OK
Vary: Accept
Content-Type: application/json
:statuscode 200: no error
:statuscode 401: Authentication Error. Please Login.
:statuscode 403: Cannot modify own user account.
:statuscode 404: User entry with the given ID not found.'

def delete(self, user_id):

    if (user_id == current_user.id):
        return ({'status': 'Cannot    modify    own    user    account.'}, 403)
    user = User.query.filter((User.id == user_id)).first()
    if (not user):
        return ({'status': 'User    entry    with    the    given    ID    not    found.'}, 404)
    db.session.delete(user)
    db.session.commit()
    return_dict = {'auth': self.auth_dict}
    return (return_dict, 202)
